1
0
Fork 0

[cleanup] Misc

Closes #5471, Closes #5312

Authored by: pukkandan, Alienmaster
This commit is contained in:
Robert Geislinger 2022-11-11 08:43:08 +05:30 committed by pukkandan
commit 7aaf4cd2a8
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
8 changed files with 19 additions and 19 deletions

View file

@ -21,7 +21,7 @@ class TestURLIE(InfoExtractor):
matching_extractors = [e for e in gen_extractor_classes() if rex.search(e.IE_NAME)]
if len(matching_extractors) == 0:
raise ExtractorError('No extractors matching {extractor_id!r} found', expected=True)
raise ExtractorError(f'No extractors matching {extractor_id!r} found', expected=True)
elif len(matching_extractors) > 1:
try: # Check for exact match
extractor = next(