Consistency in namespace name

This commit is contained in:
Christian Mäder 2020-10-20 21:29:08 +02:00
parent dad0608834
commit 75554ef5b4
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ def _import(module_name, path):
_main_config_path = abspath(f'{_CONFIG_DIR}/{_MAIN_CONFIG}.py') _main_config_path = abspath(f'{_CONFIG_DIR}/{_MAIN_CONFIG}.py')
if isfile(_main_config_path): if isfile(_main_config_path):
_import(f'{_MODULE}.configuration', _main_config_path) _import(f'{_MODULE}.{_MAIN_CONFIG}', _main_config_path)
else: else:
print(f"⚠️ Main configuration '{_main_config_path}' not found.") print(f"⚠️ Main configuration '{_main_config_path}' not found.")

View File

@ -35,7 +35,7 @@ def _import(module_name, path):
_main_config_path = abspath(f'{_CONFIG_DIR}/{_MAIN_CONFIG}.py') _main_config_path = abspath(f'{_CONFIG_DIR}/{_MAIN_CONFIG}.py')
if isfile(_main_config_path): if isfile(_main_config_path):
_import(f'{_MODULE}.configuration', _main_config_path) _import(f'{_MODULE}.{_MAIN_CONFIG}', _main_config_path)
else: else:
print(f"⚠️ Main configuration '{_main_config_path}' not found.") print(f"⚠️ Main configuration '{_main_config_path}' not found.")