Explorar el Código

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

Tom Gotsman hace 1 año
padre
commit
d6374ca3f0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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: