Skip to content

Commit c32b407

Browse files
authored
Merge pull request #57 from codingo/permissions-bug-fix
Permissions bug fix
2 parents d85cd7a + 5a3901e commit c32b407

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Interlace/lib/core/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.5.3'
1+
__version__ = '1.5.4'

Interlace/lib/core/input.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,9 @@ def process_commands(arguments):
102102
final_commands = set()
103103
output = OutputHelper(arguments)
104104

105-
# checking for whether output is writable and whether it exists
106-
if arguments.output:
107-
if not access(arguments.output, W_OK):
108-
raise Exception("Directory provided isn't writable")
105+
# removing the trailing slash if any
106+
if arguments.output[-1] == "/":
107+
arguments.output = arguments.output[:-1]
109108

110109
if arguments.port:
111110
if "," in arguments.port:

0 commit comments

Comments
 (0)