浏览代码

we reassign the global varaible active_links

Rodja Trappe 3 年之前
父节点
当前提交
68a9cc0898
共有 1 个文件被更改,包括 1 次插入0 次删除
  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 = []