scanNetwork() Error Message - Issue #46

This commit is contained in:
k4m4 2017-01-25 17:39:42 +02:00
parent de20d0ac99
commit b2c866ad68

View File

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