cc: Fix come incorrect import paths
This commit is contained in:
parent
2c75eab467
commit
3d938f2536
|
@ -6,7 +6,7 @@ gevent_monkey.patch_all()
|
|||
|
||||
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__:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
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
|
||||
|
|
|
@ -14,7 +14,7 @@ def 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"
|
||||
BACKUP_CONFIG_FILENAME = "./server_config.backup"
|
||||
|
|
Loading…
Reference in New Issue