Skip to content

Commit

Permalink
[hrti] Don't redefine variable in list comprehension
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimeMF committed Jul 2, 2016
1 parent a1f6f5c commit 4cb13d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/hrti.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,6 @@ def _real_extract(self, url):
response, lambda x: x['video_listings'][0]['alternatives'][0]['list'],
list) or [video['id'] for video in response.get('videos', []) if video.get('id')]

entries = [self.url_result('hrti:%s' % category_id) for category_id in video_ids]
entries = [self.url_result('hrti:%s' % video_id) for video_id in video_ids]

return self.playlist_result(entries, category_id, display_id)

0 comments on commit 4cb13d0

Please sign in to comment.