Initialization is done by the class now
This commit is contained in:
1 parent
c24178f7d6
commit
3ec1d2dc29
1 file changed
-3
@@ -274,9 +274,6 @@ def download_media(
|
||||
|
||||
progress_hook_func = progress_hook.get('function', None)
|
||||
if progress_hook_func:
|
||||
hook = progress_hook.get('status', None)
|
||||
if hook:
|
||||
hook.download_progress = 0
|
||||
ytopts['progress_hooks'].append(progress_hook_func)
|
||||
|
||||
codec_options = list()
|
||||
|
||||
Reference in new issue
Block a user