diff --git a/source/safe_eval/safe_eval.py b/source/safe_eval/safe_eval.py index 6768559..e18d8c0 100644 --- a/source/safe_eval/safe_eval.py +++ b/source/safe_eval/safe_eval.py @@ -116,4 +116,4 @@ def safe_eval(template: str, env: dict[str, any] = None, macros: dict[str, str] ast.fix_missing_locations(expression) # return the evaluated formula - return eval(compile(expression, "", "eval"), globals_, locals_) + return eval(compile(expression, "", "eval"), globals_, locals_)