From 6e84b21559f586ee4d6affb61688d5c6a0c21221 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Sat, 7 Aug 2021 21:16:55 +0530 Subject: Fix bugs related to `sanitize_info` Related: https://github.com/yt-dlp/yt-dlp/commit/8012d892bd38af731357a61e071e0a0d01bc41b4#r54555230 --- yt_dlp/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yt_dlp/utils.py') diff --git a/yt_dlp/utils.py b/yt_dlp/utils.py index a6e613139..fd13febd6 100644 --- a/yt_dlp/utils.py +++ b/yt_dlp/utils.py @@ -1836,7 +1836,7 @@ def write_json_file(obj, fn): try: with tf: - json.dump(obj, tf, default=repr) + json.dump(obj, tf) if sys.platform == 'win32': # Need to remove existing file on Windows, else os.rename raises # WindowsError or FileExistsError. -- cgit v1.2.3