update var join function to use empty string (#2270)
This commit is contained in:
parent
7164b91d7b
commit
d6374ca3f0
@ -1324,7 +1324,7 @@ class Var:
|
|||||||
raise TypeError(f"Cannot join non-list var {self._var_full_name}.")
|
raise TypeError(f"Cannot join non-list var {self._var_full_name}.")
|
||||||
|
|
||||||
if other is None:
|
if other is None:
|
||||||
other = Var.create_safe("")
|
other = Var.create_safe('""')
|
||||||
if isinstance(other, str):
|
if isinstance(other, str):
|
||||||
other = Var.create_safe(json.dumps(other))
|
other = Var.create_safe(json.dumps(other))
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user