From dffb1d1c9d52063efb3acca59a9f2d0c257f58e2 Mon Sep 17 00:00:00 2001 From: Ben Lye Date: Fri, 16 Aug 2019 14:47:40 +0100 Subject: [PATCH 1/2] Update firmwareupdater.js Fix lpc1768 firmware folder path check so that it requires a *folder*. --- octoprint_firmwareupdater/static/js/firmwareupdater.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/octoprint_firmwareupdater/static/js/firmwareupdater.js b/octoprint_firmwareupdater/static/js/firmwareupdater.js index eba1826..10b152a 100644 --- a/octoprint_firmwareupdater/static/js/firmwareupdater.js +++ b/octoprint_firmwareupdater/static/js/firmwareupdater.js @@ -769,8 +769,7 @@ $(function() { data: JSON.stringify({ command: "path", path: self.configLpc1768Path(), - check_type: "path", - check_access: ["r", "w"], + check_type: "dir", check_writable_dir: "true" }), contentType: "application/json; charset=UTF-8", From 406db5403765981eb460bced861824136428cb97 Mon Sep 17 00:00:00 2001 From: Ben Lye Date: Fri, 16 Aug 2019 14:48:43 +0100 Subject: [PATCH 2/2] Update setup.py Increment version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 83657c6..3de95d9 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ plugin_name = "OctoPrint-FirmwareUpdater" # The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module -plugin_version = "1.6.0" +plugin_version = "1.6.1" # The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin # module