|
@@ -75,7 +75,7 @@ class Remind(Command): |
|
|
else: |
|
|
else: |
|
|
factor = 1 |
|
|
factor = 1 |
|
|
try: |
|
|
try: |
|
|
parsed = int(_evaluate(ast.parse(arg, mode="eval").body)) * factor |
|
|
|
|
|
|
|
|
parsed = int(_evaluate(ast.parse(arg, mode="eval").body) * factor) |
|
|
except (SyntaxError, KeyError): |
|
|
except (SyntaxError, KeyError): |
|
|
raise ValueError(arg) |
|
|
raise ValueError(arg) |
|
|
if parsed <= 0: |
|
|
if parsed <= 0: |
|
|