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