mirror of
https://github.com/codingo/Interlace.git
synced 2025-12-18 15:24:23 +01:00
Merge pull request #57 from codingo/permissions-bug-fix
Permissions bug fix
This commit is contained in:
@@ -1 +1 @@
|
||||
__version__ = '1.5.3'
|
||||
__version__ = '1.5.4'
|
||||
|
||||
@@ -102,10 +102,9 @@ class InputHelper(object):
|
||||
final_commands = set()
|
||||
output = OutputHelper(arguments)
|
||||
|
||||
# checking for whether output is writable and whether it exists
|
||||
if arguments.output:
|
||||
if not access(arguments.output, W_OK):
|
||||
raise Exception("Directory provided isn't writable")
|
||||
# removing the trailing slash if any
|
||||
if arguments.output[-1] == "/":
|
||||
arguments.output = arguments.output[:-1]
|
||||
|
||||
if arguments.port:
|
||||
if "," in arguments.port:
|
||||
|
||||
Reference in New Issue
Block a user