Explorar el Código

we reassign the global varaible active_links

Rodja Trappe hace 3 años
padre
commit
68a9cc0898
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      nicegui/binding.py

+ 1 - 0
nicegui/binding.py

@@ -10,6 +10,7 @@ bindable_properties = set()
 active_links = []
 
 async def loop():
+    global active_links
     while True:
         visited = set()
         invalidated_views = []