1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 10:24:33 +01:00

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
formats = []
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
# mediaselectors
for mediaselector_url in self._MEDIASELECTOR_URLS:
@ -366,7 +366,7 @@ class BBCCoUkIE(InfoExtractor):
last_exception = e
continue
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:
self._raise_extractor_error(last_exception)
return formats, subtitles