Fixed CLI single command bug

This commit is contained in:
Joshua Ogunyinka
2019-08-23 01:09:41 +01:00
parent 3f69c04d3e
commit 8cd43a67b5

View File

@@ -239,7 +239,7 @@ class InputHelper(object):
random_file = choice(files)
if arguments.command:
commands.append(arguments.command.rstrip('\n'))
commands.append(Task(arguments.command.rstrip('\n')))
else:
commands = InputHelper._pre_process_commands(arguments.command_list)