From ce78ebab917a88d837e2602c31be7b5e22a73e80 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Mon, 15 Apr 2019 13:04:57 +0300 Subject: [PATCH] Refactored imports according to latest changes --- monkey/monkey_island/cc/resources/attack_config.py | 4 ++-- monkey/monkey_island/cc/resources/root.py | 2 +- monkey/monkey_island/cc/services/attack/attack_config.py | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/monkey/monkey_island/cc/resources/attack_config.py b/monkey/monkey_island/cc/resources/attack_config.py index 8b8e9787c..482c3b5fe 100644 --- a/monkey/monkey_island/cc/resources/attack_config.py +++ b/monkey/monkey_island/cc/resources/attack_config.py @@ -2,8 +2,8 @@ import flask_restful import json from flask import jsonify, request -from cc.auth import jwt_required -from cc.services.attack.attack_config import * +from monkey_island.cc.auth import jwt_required +from monkey_island.cc.services.attack.attack_config import * __author__ = "VakarisZ" diff --git a/monkey/monkey_island/cc/resources/root.py b/monkey/monkey_island/cc/resources/root.py index 5f29186ca..cd2f7e6a5 100644 --- a/monkey/monkey_island/cc/resources/root.py +++ b/monkey/monkey_island/cc/resources/root.py @@ -7,7 +7,7 @@ from flask import request, make_response, jsonify from monkey_island.cc.auth import jwt_required from monkey_island.cc.database import mongo from monkey_island.cc.services.config import ConfigService -from cc.services.attack.attack_config import reset_config as reset_attack_config +from monkey_island.cc.services.attack.attack_config import reset_config as reset_attack_config from monkey_island.cc.services.node import NodeService from monkey_island.cc.services.report import ReportService from monkey_island.cc.utils import local_ip_addresses diff --git a/monkey/monkey_island/cc/services/attack/attack_config.py b/monkey/monkey_island/cc/services/attack/attack_config.py index 3e243d9bb..c153a40f7 100644 --- a/monkey/monkey_island/cc/services/attack/attack_config.py +++ b/monkey/monkey_island/cc/services/attack/attack_config.py @@ -1,8 +1,8 @@ import logging from dpath import util -from cc.database import mongo -from attack_schema import SCHEMA -from cc.services.config import ConfigService +from monkey_island.cc.database import mongo +from monkey_island.cc.services.attack.attack_schema import SCHEMA +from monkey_island.cc.services.config import ConfigService __author__ = "VakarisZ"