mirror of
https://github.com/Doodle3D/doodle3d-firmware.git
synced 2024-12-21 18:43: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()
|
||||
if state ~= "idle" then
|
||||
response:setError("printer is not idle")
|
||||
response:setFail("printer is not idle")
|
||||
return
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user