mirror of
https://github.com/k4m4/kickthemout.git
synced 2024-11-25 14:34:23 +01:00
scanNetwork() Error Message - Issue #46
This commit is contained in:
parent
7928e302e8
commit
aeb4d97c39
@ -69,7 +69,12 @@ def regenOnlineIPs():
|
|||||||
|
|
||||||
def scanNetwork():
|
def scanNetwork():
|
||||||
global hostsList
|
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)
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
regenOnlineIPs()
|
regenOnlineIPs()
|
||||||
|
|
||||||
def kickoneoff():
|
def kickoneoff():
|
||||||
|
Loading…
Reference in New Issue
Block a user