Skip to content

Commit

Permalink
bedZ should be a float
Browse files Browse the repository at this point in the history
  • Loading branch information
eyal0 authored May 11, 2021
1 parent 8b319e9 commit 7234b26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/octoprint/server/api/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ def _saveSettings(data):
if "runAt" in data["gcodeAnalysis"]:
s.set(["gcodeAnalysis", "runAt"], data["gcodeAnalysis"]["runAt"])
if "bedZ" in data["gcodeAnalysis"]:
s.setBoolean(["gcodeAnalysis", "bedZ"], data["gcodeAnalysis"]["bedZ"])
s.setFloat(["gcodeAnalysis", "bedZ"], data["gcodeAnalysis"]["bedZ"])

if "serial" in data:
if "autoconnect" in data["serial"]:
Expand Down

0 comments on commit 7234b26

Please sign in to comment.