Fixed some basic Flake8 errors, added Pylinter exception, Fixed some minor logging bugs.

This commit is contained in:
TheNetworkGuy
2025-04-28 15:44:45 +02:00
parent 819126ce36
commit 0c715d4f96
3 changed files with 19 additions and 19 deletions

View File

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