From a5d72c8b94be6db4772bef1b2bf00899c379b948 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Wed, 26 May 2021 10:51:33 +0300 Subject: [PATCH] Fixed an import statement in monkey_island/main.py --- monkey/monkey_island/cc/main.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/monkey/monkey_island/cc/main.py b/monkey/monkey_island/cc/main.py index 820630210..af84666e8 100644 --- a/monkey/monkey_island/cc/main.py +++ b/monkey/monkey_island/cc/main.py @@ -9,6 +9,7 @@ from threading import Thread # "monkey_island." work. from gevent.pywsgi import WSGIServer +from monkey_island.cc.setup.database_initializer import init_collections from monkey_island.setup.island_config_options import IslandConfigOptions MONKEY_ISLAND_DIR_BASE_PATH = str(Path(__file__).parent.parent) @@ -30,10 +31,7 @@ from monkey_island.cc.server_utils.encryptor import initialize_encryptor # noqa from monkey_island.cc.services.initialize import initialize_services # noqa: E402 from monkey_island.cc.services.reporting.exporter_init import populate_exporter_list # noqa: E402 from monkey_island.cc.services.utils.network_utils import local_ip_addresses # noqa: E402 -from monkey_island.cc.setup.mongo_process_runner import ( # noqa: E402 - MongoDbRunner, - init_collections, -) +from monkey_island.cc.setup.mongo_process_runner import MongoDbRunner # noqa: E402 MINIMUM_MONGO_DB_VERSION_REQUIRED = "4.2.0"