Skip to content

Commit

Permalink
Update firmwareupdater.js
Browse files Browse the repository at this point in the history
Fix lpc1768 firmware folder path check so that it requires a *folder*.
  • Loading branch information
benlye authored Aug 16, 2019
1 parent a6a6d6e commit dffb1d1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions octoprint_firmwareupdater/static/js/firmwareupdater.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit dffb1d1

Please sign in to comment.