minor fixes

This commit is contained in:
David Schütz 2017-01-02 22:38:51 +01:00 committed by GitHub
parent ccc1fa851b
commit 271f2af93e

View File

@ -131,14 +131,12 @@ def kicksomeoff():
while not canBreak:
try:
choice = raw_input("\nChoose devices to target(comma-separated): ")
canBreak = True
except KeyboardInterrupt:
return
if ',' in choice:
some_targets = choice.split(",")
canBreak = True
else:
print("\n{0}ERROR:{2} Please select more than 1 devices.{3}\n").format(RED, RED, END)
print("\n{0}ERROR:{1} Please select more than 1 devices from the list.{2}\n").format(RED, RED, END)
except KeyboardInterrupt:
return
some_ipList = ""