mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-01-23 13:37:08 +01:00
fix
This commit is contained in:
parent
aec4c22f59
commit
a2fca0bcf6
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue