1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-25 19:52:11 +00:00

Some pep8 style fixes

This commit is contained in:
Jaime Marquínez Ferrándiz 2014-01-25 12:02:43 +01:00
parent 944d65c762
commit f89197d73e
5 changed files with 9 additions and 10 deletions

View file

@ -8,6 +8,7 @@ from ..utils import (
determine_ext,
)
def get_suitable_downloader(info_dict):
"""Get the downloader class that can handle the info dict."""
url = info_dict['url']
@ -20,4 +21,3 @@ def get_suitable_downloader(info_dict):
return MplayerFD
else:
return HttpFD

View file

@ -314,4 +314,3 @@ class FileDownloader(object):
if the download is successful.
"""
self._progress_hooks.append(ph)