Refactor imports in firewall.py and scan.py to use ip_utils; remove utils module
This commit is contained in:
1 parent
40212d84f7
commit
540154d426
3 files changed
+7
-622
No files matched your search
+1
-1
@@ -13,7 +13,7 @@ import paramiko
|
||||
from datetime import datetime
|
||||
import shlex
|
||||
from typing import Iterable
|
||||
from utils import is_whitelisted, parse_ip, split_versions
|
||||
from ip_utils import is_whitelisted
|
||||
|
||||
DATA_DIR = os.path.join(os.path.dirname(__file__), "data", "mikrotik")
|
||||
REPORT_DIR = os.path.join(os.path.dirname(__file__), "reports")
|
||||
|
||||
Reference in new issue
Block a user