mirror of
https://github.com/TheNetworkGuy/netbox-zabbix-sync.git
synced 2025-12-19 03:42:23 -06:00
Fixed some basic Flake8 errors, added Pylinter exception, Fixed some minor logging bugs.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user