Skip to content

Commit

Permalink
Merge pull request #61 from KarimPwnz/master
Browse files Browse the repository at this point in the history
Fix arguments.output bug introduced in #57
  • Loading branch information
codingo authored Aug 16, 2019
2 parents c32b407 + 5eb1002 commit 23082f4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Interlace/lib/core/input.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,9 @@ def process_commands(arguments):
output = OutputHelper(arguments)

# removing the trailing slash if any
if arguments.output[-1] == "/":
arguments.output = arguments.output[:-1]
if arguments.output:
if arguments.output[-1] == "/":
arguments.output = arguments.output[:-1]

if arguments.port:
if "," in arguments.port:
Expand Down

0 comments on commit 23082f4

Please sign in to comment.