aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--awesompd.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/awesompd.lua b/awesompd.lua
index 68f04b9..2887bff 100644
--- a/awesompd.lua
+++ b/awesompd.lua
@@ -981,7 +981,7 @@ function awesompd:try_get_local_cover()
local folder = music_folder .. current_file_folder
-- Get all images in the folder
- local covers = self.pread('ls "' .. folder .. '" | grep -P "\.jpg\|\.png\|\.gif|\.jpeg"', "*all")
+ local covers = self.pread("ls '" .. folder .. "' | grep -P '\.jpg\|\.png\|\.gif|\.jpeg'", "*all")
local covers_table = self.split(covers)
if covers_table.n > 0 then