diff options
author | jomo <github@jomo.tv> | 2015-01-10 00:37:03 +0100 |
---|---|---|
committer | jomo <github@jomo.tv> | 2015-01-10 00:37:03 +0100 |
commit | c6dd5ce4a982bb50e6b155501072889149dec756 (patch) | |
tree | 18b7326d768818ce8618aaee3c7a938ba492ab59 /calc.py | |
parent | d4813f7dc56bfa5085e46ccfdd0e271d9c5029be (diff) |
add >, <, ~ and % operators to calc
Diffstat (limited to 'calc.py')
-rw-r--r-- | calc.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,7 +1,7 @@ from helpers import * calc_users = open_json_file("calc", []) -math_operators = ["+", "-", "*", "/", "&", "|"] +math_operators = ["+", "-", "*", "/", "&", "|", ">", "<", "~", "%"] ignore_operators = ["**", "&&", "||"] # ** may be too intensive, the others cause syntax errors calc_perm = "utils.calc" |