aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/utils.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-08-07 21:16:55 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-08-07 21:16:55 +0530
commit6e84b21559f586ee4d6affb61688d5c6a0c21221 (patch)
tree2af80b63dafd747cebbed3b3c3b1e3ad0238ab1e /yt_dlp/utils.py
parent575e17a1b912ace50ac383e74a8da5b8e9c8de4e (diff)
downloadhypervideo-pre-6e84b21559f586ee4d6affb61688d5c6a0c21221.tar.lz
hypervideo-pre-6e84b21559f586ee4d6affb61688d5c6a0c21221.tar.xz
hypervideo-pre-6e84b21559f586ee4d6affb61688d5c6a0c21221.zip
Fix bugs related to `sanitize_info`
Related: https://github.com/yt-dlp/yt-dlp/commit/8012d892bd38af731357a61e071e0a0d01bc41b4#r54555230
Diffstat (limited to 'yt_dlp/utils.py')
-rw-r--r--yt_dlp/utils.py2
1 files changed, 1 insertions, 1 deletions
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.