mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
parent
f02d24d8d2
commit
45d86abeb4
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ def write_json_file(obj, fn):
|
|||
|
||||
try:
|
||||
with tf:
|
||||
json.dump(obj, tf)
|
||||
json.dump(obj, tf, ensure_ascii=False)
|
||||
if sys.platform == 'win32':
|
||||
# Need to remove existing file on Windows, else os.rename raises
|
||||
# WindowsError or FileExistsError.
|
||||
|
|
Loading…
Reference in a new issue