mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-05-22 18:05:46 -05:00
use repr
This commit is contained in:
parent
d134dc3a96
commit
4e7ee9f567
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ def build_ies(ies, bases, attr_base):
|
|||
if ie in ies:
|
||||
names.append(ie.__name__)
|
||||
|
||||
class_lookup_contents = ', '.join(f"'{name}': {name}" for name in names)
|
||||
class_lookup_contents = ', '.join(f'{name!r}: {name}' for name in names)
|
||||
yield f'\n_CLASS_LOOKUP = {{ {class_lookup_contents} }}'
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue