Allow spaces in target selection (e.g. 3, 4, 7-8)

This commit is contained in:
derv82
2018-04-01 15:57:58 -04:00
parent 57ad097d49
commit 699578abed

View File

@@ -199,7 +199,8 @@ class Scanner(object):
chosen_targets = []
for choice in raw_input(Color.s(input_str)).split(','):
if choice == 'all':
choice = choice.strip()
if choice.lower() == 'all':
chosen_targets = self.targets
break
if '-' in choice: