Clean up docs and more funcparser fixes

This commit is contained in:
Griatch 2021-03-27 23:43:46 +01:00
parent c65c68e4c2
commit c9d9e9c6f8
21 changed files with 438 additions and 512 deletions

View file

@ -45,7 +45,12 @@ def protfunc_callable_protkey(*args, **kwargs):
prototype = kwargs.get("prototype", {})
prot_value = prototype[args[0]]
return funcparser.funcparser_callable_eval(prot_value, **kwargs)
try:
return funcparser.funcparser_callable_eval(prot_value, **kwargs)
except funcparser.ParsingError:
return prot_value
# this is picked up by FuncParser