From 20de3f5f37aa29847c97375cf69f89c188463ce0 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Thu, 18 Jun 2020 14:49:26 +0200 Subject: [PATCH] fix theme loading --- access.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/access.lua b/access.lua index a7d3034..7c51cd1 100644 --- a/access.lua +++ b/access.lua @@ -272,7 +272,7 @@ end function scandir(directory, callback) -- use find (and not ls) to list only files recursively and with their full path relative to the asked directory - local pfile = io.popen('find "'..directory..'" -type f') + local pfile = io.popen('find "'..directory..'" -type f -printf \"%f\n\"') for filename in pfile:lines() do callback(filename) end