diff options
author | Jaime Marquínez Ferrándiz <[email protected]> | 2014-01-25 12:02:43 +0100 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <[email protected]> | 2014-01-25 15:33:23 +0100 |
commit | f89197d73e14d33ea580b5fdaed0e84e4b6851a5 (patch) | |
tree | 6b7fbba2734c17da337284c459f5788657c933ed /youtube_dl/YoutubeDL.py | |
parent | 944d65c762cc8426bb10093d11dbb94ea5dc21cb (diff) | |
download | youtube-dl-f89197d73e14d33ea580b5fdaed0e84e4b6851a5.tar.gz youtube-dl-f89197d73e14d33ea580b5fdaed0e84e4b6851a5.zip |
Some pep8 style fixes
Diffstat (limited to 'youtube_dl/YoutubeDL.py')
-rw-r--r-- | youtube_dl/YoutubeDL.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 1e94d8ac6..42cbcf699 100644 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -331,7 +331,7 @@ class YoutubeDL(object): def __exit__(self, *args): self.restore_console_title() - + if self.params.get('cookiefile') is not None: self.cookiejar.save() @@ -710,10 +710,10 @@ class YoutubeDL(object): # TODO Central sorting goes here - if formats[0] is not info_dict: + if formats[0] is not info_dict: # only set the 'formats' fields if the original info_dict list them # otherwise we end up with a circular reference, the first (and unique) - # element in the 'formats' field in info_dict is info_dict itself, + # element in the 'formats' field in info_dict is info_dict itself, # wich can't be exported to json info_dict['formats'] = formats if self.params.get('listformats', None): |