Преглед изворни кода

improved warning for disabled auto-reload

Rodja Trappe пре 1 година
родитељ
комит
874b0ec7df
1 измењених фајлова са 1 додато и 1 уклоњено
  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: