mirror of
https://github.com/codingo/Interlace.git
synced 2025-12-18 07:14:20 +01:00
Removed permissions check as it is too rigid and not needed. Added in trailing slash removal
This commit is contained in:
@@ -102,10 +102,9 @@ class InputHelper(object):
|
|||||||
final_commands = set()
|
final_commands = set()
|
||||||
output = OutputHelper(arguments)
|
output = OutputHelper(arguments)
|
||||||
|
|
||||||
# checking for whether output is writable and whether it exists
|
# removing the trailing slash if any
|
||||||
if arguments.output:
|
if arguments.output[-1] == "/":
|
||||||
if not access(arguments.output, W_OK):
|
arguments.output = arguments.output[:-1]
|
||||||
raise Exception("Directory provided isn't writable")
|
|
||||||
|
|
||||||
if arguments.port:
|
if arguments.port:
|
||||||
if "," in arguments.port:
|
if "," in arguments.port:
|
||||||
|
|||||||
Reference in New Issue
Block a user