From 50d7a239ae2a4b4a6eaa4df5b97f2f09c7f5a154 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Tue, 27 Sep 2011 21:44:02 +0200 Subject: [PATCH] Raise correct args in exception --- generate-download | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate-download b/generate-download index 002a3ceb4..4fb6ce004 100755 --- a/generate-download +++ b/generate-download @@ -10,7 +10,7 @@ except ImportError: # Python < 2.7 p = subprocess.Popen(*args, stdout=subprocess.PIPE, **kwargs) out,err = p.communicate() if p.returncode != 0: - raise subprocess.CalledProcessError(p.returncode, p.args) + raise subprocess.CalledProcessError(p.returncode, args) return out youtubeDlDir = os.path.join(os.path.dirname(__file__), '..', 'youtube-dl')