Fix error in time parsing
This commit is contained in:
parent
ae9fe89759
commit
06038062a2
|
@ -70,7 +70,7 @@ def parse_time(toparse):
|
|||
try:
|
||||
if toparse[0] == '@':
|
||||
return int(toparse[1:])
|
||||
except (ValueError, KeyError):
|
||||
except (ValueError, KeyError, IndexError):
|
||||
pass
|
||||
|
||||
# If string isn't "now" and doesn't contain at least 4 digits,
|
||||
|
|
Loading…
Reference in New Issue
Block a user