From a57ac448a2264e3a87dd679696d524d466d270de Mon Sep 17 00:00:00 2001 From: prodigysml Date: Fri, 16 Aug 2019 10:19:23 +1000 Subject: [PATCH 1/2] Removed permissions check as it is too rigid and not needed. Added in trailing slash removal --- Interlace/lib/core/input.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Interlace/lib/core/input.py b/Interlace/lib/core/input.py index 22823a3..4921ddd 100644 --- a/Interlace/lib/core/input.py +++ b/Interlace/lib/core/input.py @@ -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: From 5a3901e70046f46b60c75dc41f8e8585e15899b2 Mon Sep 17 00:00:00 2001 From: prodigysml Date: Fri, 16 Aug 2019 10:19:59 +1000 Subject: [PATCH 2/2] Version bug for minor fix --- Interlace/lib/core/__version__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Interlace/lib/core/__version__.py b/Interlace/lib/core/__version__.py index 0bb84ff..c24ed73 100644 --- a/Interlace/lib/core/__version__.py +++ b/Interlace/lib/core/__version__.py @@ -1 +1 @@ -__version__ = '1.5.3' +__version__ = '1.5.4'