added . to maths operator to support floats

This commit is contained in:
PanFritz
2015-01-16 23:40:14 +01:00
parent 9a42172c4e
commit 1515777494
2 changed files with 2 additions and 2 deletions

View File

@@ -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"