mirror of
https://github.com/codingo/Interlace.git
synced 2025-12-17 14:54:21 +01:00
Fixed CLI single command bug
This commit is contained in:
@@ -239,7 +239,7 @@ class InputHelper(object):
|
|||||||
random_file = choice(files)
|
random_file = choice(files)
|
||||||
|
|
||||||
if arguments.command:
|
if arguments.command:
|
||||||
commands.append(arguments.command.rstrip('\n'))
|
commands.append(Task(arguments.command.rstrip('\n')))
|
||||||
else:
|
else:
|
||||||
commands = InputHelper._pre_process_commands(arguments.command_list)
|
commands = InputHelper._pre_process_commands(arguments.command_list)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user