We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37adf28 commit d6ed5edCopy full SHA for d6ed5ed
nutcase/app/app/utils/configuration.py
@@ -367,7 +367,8 @@ def Load_Config( app ):
367
#=====================================================================
368
# Record the mod time of the config file
369
370
- app.config.update( CONFIG_MOD_TIME = os.path.getmtime( Config_Filename ) )
+ if Config_Filename and os.path.isfile( Config_Filename ):
371
+ app.config.update( CONFIG_MOD_TIME = os.path.getmtime( Config_Filename ) )
372
373
#=================================================================================
374
# Do validity checking in the loaded configuration
0 commit comments