scanNetwork() Error Message - Issue #46

This commit is contained in:
k4m4 2017-01-25 17:19:01 +02:00
parent 7928e302e8
commit aeb4d97c39

View File

@ -69,7 +69,12 @@ def regenOnlineIPs():
def scanNetwork():
global hostsList
try:
hostsList = scan.scanNetwork()
except:
print("\n{0}ERROR: Network scanning failed. Please check your requirements configuration.{1}\n").format(RED, END)
sys.exit(1)
regenOnlineIPs()
def kickoneoff():