Skip to content

Commit 23082f4

Browse files
authored
Merge pull request #61 from KarimPwnz/master
Fix arguments.output bug introduced in #57
2 parents c32b407 + 5eb1002 commit 23082f4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Interlace/lib/core/input.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,9 @@ def process_commands(arguments):
103103
output = OutputHelper(arguments)
104104

105105
# removing the trailing slash if any
106-
if arguments.output[-1] == "/":
107-
arguments.output = arguments.output[:-1]
106+
if arguments.output:
107+
if arguments.output[-1] == "/":
108+
arguments.output = arguments.output[:-1]
108109

109110
if arguments.port:
110111
if "," in arguments.port:

0 commit comments

Comments
 (0)