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:
parent
101a492cb2
commit
1209e37616
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user