Skip to content

Commit

Permalink
Merge pull request #1 from KarimPwnz/master
Browse files Browse the repository at this point in the history
Fix arguments.output bug introduced in codingo#57
  • Loading branch information
KarimPwnz authored Aug 16, 2019
2 parents 7c15dcf + 5eb1002 commit dff9886
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 @@ -120,8 +120,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 dff9886

Please sign in to comment.