Only one call to main
This commit is contained in:
parent
87739dca21
commit
6b57e365ad
@ -91,9 +91,9 @@ if __name__ == "__main__":
|
||||
config = importlib.util.module_from_spec(spec)
|
||||
sys.modules["config"] = config
|
||||
spec.loader.exec_module(config)
|
||||
# call new main function
|
||||
config.main()
|
||||
else:
|
||||
print("Config is up to date")
|
||||
|
||||
# call main function now
|
||||
# call main function
|
||||
main()
|
||||
|
Loading…
Reference in New Issue
Block a user