Skip to content

Commit

Permalink
Added in trailing new line removal now
Browse files Browse the repository at this point in the history
  • Loading branch information
prodigysml committed Apr 1, 2019
1 parent 6dd9a22 commit c4a26d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Interlace/lib/core/input.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,10 @@ def process_commands(arguments):
targets -= exclusions

if arguments.command:
commands.add(arguments.command)
commands.add(arguments.command.rstrip('\n'))
else:
for command in arguments.command_list:
commands.add(command)
commands.add(command.rstrip('\n'))

final_commands = InputHelper._replace_variable_for_commands(commands, "_target_", targets)
final_commands = InputHelper._replace_variable_for_commands(final_commands, "_host_", targets)
Expand Down

0 comments on commit c4a26d0

Please sign in to comment.