mirror of
https://github.com/k4m4/kickthemout.git
synced 2024-11-25 06:24:25 +01:00
scanNetwork() Error Message - Issue #46
This commit is contained in:
parent
de20d0ac99
commit
b2c866ad68
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user