mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-17 22:55:42 +07:00
Rename util.u to util.compat_str
This commit is contained in:
@@ -27,9 +27,9 @@
|
||||
}
|
||||
|
||||
try:
|
||||
u = unicode # Python 2
|
||||
compat_str = unicode # Python 2
|
||||
except NameError:
|
||||
u = str
|
||||
compat_str = str
|
||||
|
||||
def preferredencoding():
|
||||
"""Get preferred encoding.
|
||||
|
||||
Reference in New Issue
Block a user