Removed the infrastructure from starting main.py - it can no longer be the entrypoint to the application

This commit is contained in:
VakarisZ 2021-05-24 18:08:26 +03:00
parent 3a800d9a44
commit 9337c68ae0
1 changed files with 0 additions and 4 deletions

View File

@ -120,7 +120,3 @@ def assert_mongo_db_version(mongo_url):
sys.exit(-1) sys.exit(-1)
else: else:
logger.info("Mongo DB version OK. Got {0}".format(str(server_version))) logger.info("Mongo DB version OK. Got {0}".format(str(server_version)))
if __name__ == "__main__":
main()