From a2fca0bcf622c76e3f288c865ab88f8a8dc54877 Mon Sep 17 00:00:00 2001 From: doe1080 <98906116+doe1080@users.noreply.github.com> Date: Mon, 19 May 2025 00:59:13 +0900 Subject: [PATCH] fix --- yt_dlp/utils/_utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/yt_dlp/utils/_utils.py b/yt_dlp/utils/_utils.py index 944f0f714..ebdfa864c 100644 --- a/yt_dlp/utils/_utils.py +++ b/yt_dlp/utils/_utils.py @@ -2021,8 +2021,7 @@ def str_to_int(int_str, *, dot_decimal=False): if dot_decimal: f = float_or_none(int_str) return int(f) if f is not None else None - else: - return int_or_none(int_str.replace('.', '')) + return int_or_none(int_str.replace('.', '')) @partial_application