Fix for flake8
Trailing spaces in comments FFS!
This commit is contained in:
parent
1ad6dd845b
commit
f9588ec2cd
@ -352,7 +352,7 @@ class BBCCoUkIE(InfoExtractor):
|
|||||||
last_exception = None
|
last_exception = None
|
||||||
formats = []
|
formats = []
|
||||||
subtitles = []
|
subtitles = []
|
||||||
# as some mediaselectors may be parseable but have
|
# as some mediaselectors may be parseable but have
|
||||||
# no formats (eg captions only), try all possible
|
# no formats (eg captions only), try all possible
|
||||||
# mediaselectors
|
# mediaselectors
|
||||||
for mediaselector_url in self._MEDIASELECTOR_URLS:
|
for mediaselector_url in self._MEDIASELECTOR_URLS:
|
||||||
@ -366,7 +366,7 @@ class BBCCoUkIE(InfoExtractor):
|
|||||||
last_exception = e
|
last_exception = e
|
||||||
continue
|
continue
|
||||||
self._raise_extractor_error(e)
|
self._raise_extractor_error(e)
|
||||||
# ignore a trapped exception if formats were found
|
# ignore a trapped exception if formats were found
|
||||||
if last_exception and not formats:
|
if last_exception and not formats:
|
||||||
self._raise_extractor_error(last_exception)
|
self._raise_extractor_error(last_exception)
|
||||||
return formats, subtitles
|
return formats, subtitles
|
||||||
|
Loading…
x
Reference in New Issue
Block a user