use current-print

This commit is contained in:
Simon Voordouw 2017-06-27 17:45:56 +02:00
parent 753672e164
commit 8adc74876e
1 changed files with 1 additions and 1 deletions

View File

@ -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')