Explorar el Código

add startup message

Falko Schindler hace 2 años
padre
commit
c7a27b7273
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      nicegui/nicegui.py

+ 1 - 0
nicegui/nicegui.py

@@ -45,6 +45,7 @@ def on_startup() -> None:
     [safe_invoke(t) for t in globals.startup_handlers]
     create_task(binding.loop())
     globals.state = globals.State.STARTED
+    print(f'NiceGUI ready to go on http://{globals.host}:{globals.port}')
 
 
 @app.on_event('shutdown')