diff options
Diffstat (limited to 'script/brave/work.lua')
-rw-r--r-- | script/brave/work.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/brave/work.lua b/script/brave/work.lua index 24debe83..e1c08a79 100644 --- a/script/brave/work.lua +++ b/script/brave/work.lua @@ -43,7 +43,7 @@ end) brave.on('listDirectory', function (uri) local path = fs.path(furi.decode(uri)) local uris = {} - for child in path:list_directory() do + for child in fs.pairs(path) do local childUri = furi.encode(child:string()) uris[#uris+1] = childUri end |