소스 검색

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 = []