cc: Fix come incorrect import paths

This commit is contained in:
Mike Salvatore 2021-03-31 11:55:21 -04:00
parent 2c75eab467
commit 3d938f2536
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ gevent_monkey.patch_all()
import json # noqa: E402 import json # noqa: E402
from monkey_island.cc.island_logger import json_setup_logging # noqa: E402 from monkey_island.cc.server_utils.island_logger import json_setup_logging # noqa: E402
if "__main__" == __name__: if "__main__" == __name__:

View File

@ -1,6 +1,6 @@
from dataclasses import dataclass from dataclasses import dataclass
from monkey_island.cc.consts import DEFAULT_SERVER_CONFIG_PATH, DEFAULT_LOGGER_CONFIG_PATH from monkey_island.cc.server_utils.consts import DEFAULT_SERVER_CONFIG_PATH, DEFAULT_LOGGER_CONFIG_PATH
@dataclass @dataclass

View File

@ -14,7 +14,7 @@ def add_monkey_dir_to_sys_path():
add_monkey_dir_to_sys_path() add_monkey_dir_to_sys_path()
from monkey_island.cc.consts import DEFAULT_SERVER_CONFIG_PATH # noqa: E402 isort:skip from monkey_island.cc.server_utils.consts import DEFAULT_SERVER_CONFIG_PATH # noqa: E402 isort:skip
SERVER_CONFIG = "server_config" SERVER_CONFIG = "server_config"
BACKUP_CONFIG_FILENAME = "./server_config.backup" BACKUP_CONFIG_FILENAME = "./server_config.backup"