Sfoglia il codice sorgente

we reassign the global varaible active_links

Rodja Trappe 3 anni fa
parent
commit
68a9cc0898
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      nicegui/binding.py

+ 1 - 0
nicegui/binding.py

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