Corrected typo for print bed command "offset", expected parameter is called "offset" not "offsets"

Compare #444
This commit is contained in:
Gina Häußge 2014-04-18 14:03:38 +02:00
parent bf9d5efe43
commit 9ab4fa608a
2 changed files with 2 additions and 2 deletions

View file

@ -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.

View file

@ -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)):