[fktv] Don't redefine 'url' in list comprehension

Detected with flake8.
This commit is contained in:
Jaime Marquínez Ferrándiz 2015-09-25 21:58:45 +02:00
parent 2d00be0477
commit 4866b72eb2

View file

@ -44,9 +44,9 @@ def _real_extract(self, url):
urls = re.findall(r'<source[^>]+src="([^"]+)"', sources) urls = re.findall(r'<source[^>]+src="([^"]+)"', sources)
formats = [{ formats = [{
'url': url, 'url': furl,
'format_id': determine_ext(url), 'format_id': determine_ext(url),
} for url in urls] } for furl in urls]
return { return {
'id': episode, 'id': episode,
'title': title, 'title': title,