diff --git a/mandy.lua b/mandy.lua index cb2e4da..6f4f82a 100644 --- a/mandy.lua +++ b/mandy.lua @@ -60,8 +60,8 @@ function ytDl(x) local tmpPath = x.." --output=/tmp/youtube-dl-"..tmpName.."-"..tmpNameTwo..".flv" local tmpPath2 = "/tmp/youtube-dl-"..tmpName.."-"..tmpNameTwo..".flv" - local ytdl_action = popin.ytdl(tmpPath) - if not ytdl_action then return false end + local flag = popin.ytdl(tmpPath) + if not flag then return false end return tmpPath2 end