fixed regex
This commit is contained in:
parent
7adebec01d
commit
8e16f31603
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ class HttpBackend(Backend):
|
|||
except ValueError:
|
||||
pass
|
||||
|
||||
m = re.match('([-+]?)(\d+)([dhms])', time_string)
|
||||
m = re.match('([-+]?)([0-9]+)([dhms])', time_string)
|
||||
if not m:
|
||||
raise RuntimeError('Invalid time interval string representation: "{}"'.
|
||||
format(time_string))
|
||||
|
|
Loading…
Reference in a new issue