From a8d95449a18c67b86664c3b333975fc99f04b4c3 Mon Sep 17 00:00:00 2001 From: Logen Kain Date: Mon, 29 Jul 2013 22:55:12 -0500 Subject: [PATCH] fixed flag --- mandy.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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