Fixed config bug and #111

This commit is contained in:
TheNetworkGuy
2025-06-12 11:08:21 +00:00
parent 7b8827fa94
commit c8fda04ce8
2 changed files with 3 additions and 6 deletions

View File

@@ -118,7 +118,4 @@ def load_config_file(config_default, config_file="config.py"):
if hasattr(config_module, key):
dconf[key] = getattr(config_module, key)
return dconf
logger.warning(
"Config file %s not found. Using default config "
"and environment variables.", config_file)
return None
return config_default