submit total lines when fetching print

This commit is contained in:
Simon Voordouw 2017-06-19 11:28:39 +02:00
parent 6b4e4e934c
commit f2e77d9529
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ do
local f = io.popen("wget -qO - " .. remote .. "/fetch/" .. id .. "/" .. current_line)
local line = f:read()
while line ~= nil do
printer:appendGcode(line)
printer:appendGcode(line, total_lines, { seq_number = -1, seq_total = -1, source = remote })
current_line = current_line + 1
line = f:read()
end