mirror of
https://github.com/Doodle3D/doodle3d-firmware.git
synced 2024-12-22 02:53:49 +01:00
use current-print
This commit is contained in:
parent
753672e164
commit
8adc74876e
@ -56,7 +56,7 @@ function M.progress(request, response)
|
||||
-- NOTE: despite their names, `currentLine` is still the error indicator and `bufferedLines` the message in such case.
|
||||
local currentLine,bufferedLines,totalLines,bufferSize,maxBufferSize,seqNumber,seqTotal = printer:getProgress()
|
||||
|
||||
local idfile = io.open('/tmp/currentprint')
|
||||
local idfile = io.open('/tmp/current-print')
|
||||
local printId
|
||||
if idfile ~= nil then
|
||||
printId = idfile:read('*a')
|
||||
|
Loading…
Reference in New Issue
Block a user