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 = []
|
||||
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user