소스 검색

#286 fix FastAPI example

Falko Schindler 2 년 전
부모
커밋
3dc32da1b1
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      nicegui/run_with.py

+ 1 - 0
nicegui/run_with.py

@@ -14,6 +14,7 @@ def run_with(
     binding_refresh_interval: float = 0.1,
     exclude: str = '',
 ) -> None:
+    globals.ui_run_has_been_called = True
     globals.title = title
     globals.favicon = favicon
     globals.dark = dark