1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-06-28 01:18:30 +00:00
This commit is contained in:
doe1080 2025-05-19 00:59:13 +09:00
parent aec4c22f59
commit a2fca0bcf6

View File

@ -2021,7 +2021,6 @@ 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('.', ''))