0
0
mirror of https://github.com/Doodle3D/doodle3d-firmware.git synced 2024-12-22 11:03:48 +01:00

return "printer not idle" as fail. Fixes issue #76

This commit is contained in:
Simon Voordouw 2017-07-06 14:15:01 +02:00
parent 22b6abfd8b
commit db259bbfc6

View File

@ -243,7 +243,7 @@ function M.fetch_POST(request, response)
local state = printer:getState() local state = printer:getState()
if state ~= "idle" then if state ~= "idle" then
response:setError("printer is not idle") response:setFail("printer is not idle")
return return
end end