Fix for flake8

Trailing spaces in comments FFS!
This commit is contained in:
dirkf 2020-10-07 02:56:27 +01:00 committed by GitHub
parent 1ad6dd845b
commit f9588ec2cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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