mirror of
https://github.com/codingo/Interlace.git
synced 2025-12-17 14:54:21 +01:00
Fix arguments.output bug introduced in #57
This commit is contained in:
@@ -103,8 +103,9 @@ class InputHelper(object):
|
|||||||
output = OutputHelper(arguments)
|
output = OutputHelper(arguments)
|
||||||
|
|
||||||
# removing the trailing slash if any
|
# removing the trailing slash if any
|
||||||
if arguments.output[-1] == "/":
|
if arguments.output:
|
||||||
arguments.output = arguments.output[:-1]
|
if arguments.output[-1] == "/":
|
||||||
|
arguments.output = arguments.output[:-1]
|
||||||
|
|
||||||
if arguments.port:
|
if arguments.port:
|
||||||
if "," in arguments.port:
|
if "," in arguments.port:
|
||||||
|
|||||||
Reference in New Issue
Block a user