Rolled back the changes that made default server config on model packages import

This commit is contained in:
VakarisZ 2021-05-25 09:49:34 +03:00
parent 9337c68ae0
commit 057a579d62
1 changed files with 0 additions and 9 deletions

View File

@ -1,14 +1,5 @@
from mongoengine import connect
# Needed so that a server_config.json file exists at the default path,
# otherwise, unit tests will error while importing `env_singleton` below.
from monkey_island.cc.environment import data_dir_generator, server_config_handler # noqa: E402
from ..server_utils.consts import DEFAULT_DATA_DIR
data_dir_generator.create_data_dir(DEFAULT_DATA_DIR, False)
server_config_handler.create_default_server_config_file()
import monkey_island.cc.environment.environment_singleton as env_singleton # noqa: E402
from .command_control_channel import CommandControlChannel # noqa: F401, E402