Prechádzať zdrojové kódy

improved warning for disabled auto-reload

Rodja Trappe 1 rok pred
rodič
commit
874b0ec7df
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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: