From 9337c68ae0d90da5a1917e3c262991d3e6633424 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Mon, 24 May 2021 18:08:26 +0300 Subject: [PATCH] Removed the infrastructure from starting main.py - it can no longer be the entrypoint to the application --- monkey/monkey_island/cc/main.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/monkey/monkey_island/cc/main.py b/monkey/monkey_island/cc/main.py index 293dd871b..df015863b 100644 --- a/monkey/monkey_island/cc/main.py +++ b/monkey/monkey_island/cc/main.py @@ -120,7 +120,3 @@ def assert_mongo_db_version(mongo_url): sys.exit(-1) else: logger.info("Mongo DB version OK. Got {0}".format(str(server_version))) - - -if __name__ == "__main__": - main()