aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2015-02-24 11:37:27 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2015-02-24 11:37:27 +0100
commit9c665ab72e5fc99989800109cdada5acc3af56c5 (patch)
tree3fb3c4bc200ee494cee90233e97b513bfccead51 /youtube_dl/extractor
parentb665ba6aa6551243aa1a5b707ee7034be356f1bb (diff)
[rtve] PEP8
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/rtve.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/rtve.py b/youtube_dl/extractor/rtve.py
index 27cd34b7d..c0fd23ff1 100644
--- a/youtube_dl/extractor/rtve.py
+++ b/youtube_dl/extractor/rtve.py
@@ -119,7 +119,8 @@ class RTVEALaCartaIE(InfoExtractor):
subs = self._download_json(
sub_file + '.json', video_id,
'Downloading subtitles info')['page']['items']
- return dict((s['lang'], [{'ext': 'vtt', 'url': s['src']}])
+ return dict(
+ (s['lang'], [{'ext': 'vtt', 'url': s['src']}])
for s in subs)