diff options
author | PanFritz <redstonenoobpan@gmail.com> | 2015-01-16 23:40:14 +0100 |
---|---|---|
committer | PanFritz <redstonenoobpan@gmail.com> | 2015-01-16 23:40:14 +0100 |
commit | 1515777494fc9b4c03d1fd5298c92cf67ccc4680 (patch) | |
tree | 3ada32abefe8fe65e6df1ca83750044785731d28 /calc.py | |
parent | 9a42172c4eacf58cead435fe7596155594c17424 (diff) |
added . to maths operator to support floats
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" |