From 1209e376166f6a8cadb571a0aeae5e9caa152cdf Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Sat, 12 Jan 2013 16:02:57 +0100 Subject: [PATCH] download_http: forgot a check for options.output --- svtplay_dl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svtplay_dl.py b/svtplay_dl.py index 438cca1..f81168b 100755 --- a/svtplay_dl.py +++ b/svtplay_dl.py @@ -482,7 +482,7 @@ def download_http(options, url): break file_d.write(chunk) - if output != "-": + if options.output != "-": now = time.time() if lastprogress + 1 < now: lastprogress = now