1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 21:54:17 +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 break
file_d.write(chunk) file_d.write(chunk)
if output != "-": if options.output != "-":
now = time.time() now = time.time()
if lastprogress + 1 < now: if lastprogress + 1 < now:
lastprogress = now lastprogress = now