Pārlūkot izejas kodu

#286 fix FastAPI example

Falko Schindler 2 gadi atpakaļ
vecāks
revīzija
3dc32da1b1
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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