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