mirror of
https://github.com/Doodle3D/doodle3d-firmware.git
synced 2024-12-22 02:53:49 +01:00
fixed typo in filename /tmp/currentprint
This commit is contained in:
parent
18271618f7
commit
07d4316a7f
@ -172,7 +172,7 @@ function M.stop_POST(request, response)
|
||||
local rv,msg = printer:stopPrint(argGcode)
|
||||
|
||||
io.popen("killall print-fetch")
|
||||
io.popen("rm /tmp/current-print /tmp/startcode /tmp/endcode")
|
||||
io.popen("rm /tmp/currentprint /tmp/startcode /tmp/endcode")
|
||||
|
||||
|
||||
response:addData('id', argId)
|
||||
@ -275,7 +275,7 @@ function M.fetch_POST(request, response)
|
||||
response:setError("no id supplied")
|
||||
return
|
||||
end
|
||||
local cpfile = io.open("/tmp/current-print", 'w+')
|
||||
local cpfile = io.open("/tmp/currentprint", 'w+')
|
||||
if cpfile == nil then
|
||||
response:setError("could not save id")
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user