From 5b6ad82daef68b7f37531a307c36050b0941f1e5 Mon Sep 17 00:00:00 2001 From: Mozi <29089388+pzhlkj6612@users.noreply.github.com> Date: Wed, 25 Dec 2024 15:02:25 +0000 Subject: [PATCH] grouping digits with underscores More readable. Since Python 3.6: https://docs.python.org/3/library/functions.html#int Co-authored-by: pukkandan --- yt_dlp/utils/_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/utils/_utils.py b/yt_dlp/utils/_utils.py index a75af33c5..526c3d9d0 100644 --- a/yt_dlp/utils/_utils.py +++ b/yt_dlp/utils/_utils.py @@ -1382,7 +1382,7 @@ def datetime_round(dt_, precision='day'): if precision == 'microsecond': return dt_ - time_scale = 1000000 + time_scale = 1_000_000 unit_seconds = { 'day': 86400, 'hour': 3600,