Corrected typo for print bed command "offset", expected parameter is called "offset" not "offsets"
Compare #444
This commit is contained in:
1 parent
bf9d5efe43
commit
9ab4fa608a
2 files changed
+2
-2
No files matched your search
@@ -506,7 +506,7 @@ Issue a bed command
|
||||
offset
|
||||
Sets the given temperature offset on the printer's tools. Additional parameters:
|
||||
|
||||
* ``offsets``: Offset to set.
|
||||
* ``offset``: Offset to set.
|
||||
|
||||
All of these commands may only be sent if the printer is currently operational. Otherwise a :http:statuscode:`409`
|
||||
is returned.
|
||||
|
||||
@@ -168,7 +168,7 @@ def printerBedCommand():
|
||||
|
||||
##~~ temperature offset
|
||||
elif command == "offset":
|
||||
offset = data["offsets"]
|
||||
offset = data["offset"]
|
||||
|
||||
# make sure the offset is valid
|
||||
if not isinstance(offset, (int, long, float)):
|
||||
|
||||
Reference in new issue
Block a user