From 1676ca57036e1f0cbc3d03f73a4c2e8e6a202308 Mon Sep 17 00:00:00 2001 From: Simon Voordouw Date: Mon, 19 Jun 2017 13:20:13 +0200 Subject: [PATCH] use gcode id as source --- src/script/print-fetch.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/print-fetch.lua b/src/script/print-fetch.lua index 00dde39..5ca7329 100755 --- a/src/script/print-fetch.lua +++ b/src/script/print-fetch.lua @@ -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, total_lines, { seq_number = -1, seq_total = -1, source = remote }) + printer:appendGcode(line, total_lines, { seq_number = -1, seq_total = -1, source = id }) current_line = current_line + 1 line = f:read() end