1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 04:05:39 +01:00

download_http: forgot a check for options.output

This commit is contained in:
Johan Andersson 2013-01-12 16:02:57 +01:00
parent 101a492cb2
commit 1209e37616

View File

@ -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