Allow spaces in target selection (e.g. 3, 4, 7-8)
This commit is contained in:
@@ -199,7 +199,8 @@ class Scanner(object):
|
|||||||
chosen_targets = []
|
chosen_targets = []
|
||||||
|
|
||||||
for choice in raw_input(Color.s(input_str)).split(','):
|
for choice in raw_input(Color.s(input_str)).split(','):
|
||||||
if choice == 'all':
|
choice = choice.strip()
|
||||||
|
if choice.lower() == 'all':
|
||||||
chosen_targets = self.targets
|
chosen_targets = self.targets
|
||||||
break
|
break
|
||||||
if '-' in choice:
|
if '-' in choice:
|
||||||
|
|||||||
Reference in New Issue
Block a user