From 2b14878a9c5549a54d2c7f28c72856294cba82d0 Mon Sep 17 00:00:00 2001 From: Daniel Goldberg Date: Mon, 9 Sep 2019 12:06:30 +0300 Subject: [PATCH] Bugfix, used wrong logger! --- monkey/infection_monkey/network/network_scanner.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/monkey/infection_monkey/network/network_scanner.py b/monkey/infection_monkey/network/network_scanner.py index 90418218a..68abcb786 100644 --- a/monkey/infection_monkey/network/network_scanner.py +++ b/monkey/infection_monkey/network/network_scanner.py @@ -1,11 +1,13 @@ import sys import itertools import time +import logging + if sys.platform.startswith("win"): from multiprocessing.dummy import Pool else: from multiprocessing import Pool -from common.network.network_range import * +from common.network.network_range import NetworkRange from infection_monkey.config import WormConfiguration from infection_monkey.network.info import local_ips, get_interfaces_ranges from infection_monkey.model import VictimHost