This commit is contained in:
k4m4 2017-01-02 23:45:30 +02:00
commit db431c16f0

View File

@ -131,14 +131,12 @@ def kicksomeoff():
while not canBreak: while not canBreak:
try: try:
choice = raw_input("\nChoose devices to target(comma-separated): ") choice = raw_input("\nChoose devices to target(comma-separated): ")
canBreak = True
except KeyboardInterrupt:
return
if ',' in choice: if ',' in choice:
some_targets = choice.split(",") some_targets = choice.split(",")
canBreak = True
else: 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 return
some_ipList = "" some_ipList = ""