fix theme loading

This commit is contained in:
Kay0u 2020-06-18 14:49:26 +02:00
parent 70c81c6b89
commit 20de3f5f37
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

@ -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