浏览代码

update var join function to use empty string (#2270)

Tom Gotsman 1 年之前
父节点
当前提交
d6374ca3f0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      reflex/vars.py

+ 1 - 1
reflex/vars.py

@@ -1324,7 +1324,7 @@ class Var:
             raise TypeError(f"Cannot join non-list var {self._var_full_name}.")
 
         if other is None:
-            other = Var.create_safe("")
+            other = Var.create_safe('""')
         if isinstance(other, str):
             other = Var.create_safe(json.dumps(other))
         else: