Explorar o código

improved warning for disabled auto-reload

Rodja Trappe hai 1 ano
pai
achega
874b0ec7df
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      nicegui/ui_run.py

+ 1 - 1
nicegui/ui_run.py

@@ -110,7 +110,7 @@ def run(*,
         return
 
     if reload and not hasattr(__main__, '__file__'):
-        log.warning('auto-reloading is only supported when running from a file')
+        log.warning('disabling auto-reloading because is is only supported when running from a file')
         core.app.config.reload = reload = False
 
     if fullscreen: