forked from p15670423/monkey
Small bugfix: allow monkey run without network exploitation
This commit is contained in:
parent
f07d058d8b
commit
586057df74
|
@ -44,7 +44,6 @@ class NetworkRange(object, metaclass=ABCMeta):
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_range_obj(address_str):
|
def get_range_obj(address_str):
|
||||||
address_str = address_str.strip()
|
|
||||||
if not address_str: # Empty string
|
if not address_str: # Empty string
|
||||||
return None
|
return None
|
||||||
if NetworkRange.check_if_range(address_str):
|
if NetworkRange.check_if_range(address_str):
|
||||||
|
|
Loading…
Reference in New Issue