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
|
return None
|
||||||
|
|
||||||
output = ""
|
output = ""
|
||||||
try:
|
|
||||||
for sub_arg in arg.args:
|
for sub_arg in arg.args:
|
||||||
if isinstance(sub_arg, Variable):
|
if isinstance(sub_arg, Variable):
|
||||||
# No need to sanitize built-in integer variables
|
# No need to sanitize built-in integer variables
|
||||||
|
|
@ -153,9 +152,9 @@ class ScriptUtils:
|
||||||
output += cls._to_script_code(sub_arg, top_level=True)
|
output += cls._to_script_code(sub_arg, top_level=True)
|
||||||
else:
|
else:
|
||||||
# Purposefully do not set top_level to True so we do not recurse
|
# 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]))} }}"
|
output += (
|
||||||
except TypeError:
|
f"{{ {cls._to_script_code(BuiltInFunction(name='sanitize', args=[sub_arg]))} }}"
|
||||||
print("huh")
|
)
|
||||||
|
|
||||||
return output
|
return output
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue