From 8adc74876e1cc84161d69b211af3575ad6018d40 Mon Sep 17 00:00:00 2001 From: Simon Voordouw Date: Tue, 27 Jun 2017 17:45:56 +0200 Subject: [PATCH] use current-print --- src/rest/api/api_printer.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rest/api/api_printer.lua b/src/rest/api/api_printer.lua index 0a90946..999f4e6 100644 --- a/src/rest/api/api_printer.lua +++ b/src/rest/api/api_printer.lua @@ -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')