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:
parent
22b6abfd8b
commit
db259bbfc6
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user