Allow spaces in target selection (e.g. 3, 4, 7-8)
This commit is contained in:
1 parent
57ad097d49
commit
699578abed
1 file changed
+2
-1
@@ -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