remove debug
This commit is contained in:
parent
576fdb18d6
commit
0fe6371043
1 changed files with 20 additions and 21 deletions
|
|
@ -134,7 +134,6 @@ class ScriptUtils:
|
|||
return None
|
||||
|
||||
output = ""
|
||||
try:
|
||||
for sub_arg in arg.args:
|
||||
if isinstance(sub_arg, Variable):
|
||||
# No need to sanitize built-in integer variables
|
||||
|
|
@ -153,9 +152,9 @@ class ScriptUtils:
|
|||
output += cls._to_script_code(sub_arg, top_level=True)
|
||||
else:
|
||||
# Purposefully do not set top_level to True so we do not recurse
|
||||
output += f"{{ {cls._to_script_code(BuiltInFunction(name='sanitize', args=[sub_arg]))} }}"
|
||||
except TypeError:
|
||||
print("huh")
|
||||
output += (
|
||||
f"{{ {cls._to_script_code(BuiltInFunction(name='sanitize', args=[sub_arg]))} }}"
|
||||
)
|
||||
|
||||
return output
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue