mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-02 09:12:40 +01:00
Some pep8 style fixes
This commit is contained in:
parent
944d65c762
commit
f89197d73e
@ -8,6 +8,7 @@
|
|||||||
determine_ext,
|
determine_ext,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def get_suitable_downloader(info_dict):
|
def get_suitable_downloader(info_dict):
|
||||||
"""Get the downloader class that can handle the info dict."""
|
"""Get the downloader class that can handle the info dict."""
|
||||||
url = info_dict['url']
|
url = info_dict['url']
|
||||||
@ -20,4 +21,3 @@ def get_suitable_downloader(info_dict):
|
|||||||
return MplayerFD
|
return MplayerFD
|
||||||
else:
|
else:
|
||||||
return HttpFD
|
return HttpFD
|
||||||
|
|
||||||
|
@ -314,4 +314,3 @@ def add_progress_hook(self, ph):
|
|||||||
if the download is successful.
|
if the download is successful.
|
||||||
"""
|
"""
|
||||||
self._progress_hooks.append(ph)
|
self._progress_hooks.append(ph)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user