From 700f395cab35638fc074ff583f7802e439df7789 Mon Sep 17 00:00:00 2001 From: luc Date: Mon, 16 May 2016 16:29:48 +0200 Subject: [PATCH] Fix #95 Sd list is not working with smoothie due to output format difference --- esp8266/data/printer.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp8266/data/printer.tpl b/esp8266/data/printer.tpl index 4851eae0..2231e8a1 100644 --- a/esp8266/data/printer.tpl +++ b/esp8266/data/printer.tpl @@ -353,7 +353,7 @@ var i; for (i = 0; i < jsonresponse.length; i++){ content =jsonresponse[i].entry; var tcontent=content.split(" "); -if (tcontent.length==2){ +if ((tcontent.length==2) || (tcontent.length==1 && tcontent[0].indexOf("/")==-1)){ list2display+="