From a94167cecaef6185b3e6672a102ee2a722706931 Mon Sep 17 00:00:00 2001 From: Rick Companje Date: Fri, 29 Nov 2013 12:00:49 +0100 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4e39e7c..b96cfa0 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ WiFi box OpenWRT firmware package ================================= -General documentation can be found on the wiki: . Source code documentation can be generated, see below. +General documentation can be found on the wiki: . Source code documentation can be generated, see below. Documentation ------------- From 7da2b05af8565c570d0b3b28aab9334a370f382a Mon Sep 17 00:00:00 2001 From: Rick Companje Date: Wed, 4 Dec 2013 14:13:39 +0100 Subject: [PATCH 2/2] fixed SKETCH_FILE_EXTENSION bug (solves Sketch Load & Save problem) --- src/rest/api/api_sketch.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rest/api/api_sketch.lua b/src/rest/api/api_sketch.lua index 19725cc..b4ee73b 100644 --- a/src/rest/api/api_sketch.lua +++ b/src/rest/api/api_sketch.lua @@ -43,7 +43,7 @@ local function createSketchList() for item in lfs.dir(M.SKETCH_DIR) do if item ~= '.' and item ~= '..' then - local idx = item:match('^(%d+)\.sketch$') + local idx = item:match('^(%d+)\.'..SKETCH_FILE_EXTENSION..'$') if idx and idx:len() == NUMBER_PAD_WIDTH then table.insert(result, tonumber(idx)) end