Merge pull request #450 from netbox-community/FilterMainConfig
Fix loading main_config again during discovery of dynamic configurations
This commit is contained in:
commit
6cd156f7d5
|
@ -45,6 +45,9 @@ def read_configurations(config_module, config_dir, main_config):
|
|||
if not f.name.endswith(".py"):
|
||||
continue
|
||||
|
||||
if f.name == f"{main_config}.py":
|
||||
continue
|
||||
|
||||
if f.name == f"{config_dir}.py":
|
||||
continue
|
||||
|
||||
|
|
Loading…
Reference in New Issue