mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-06-30 11:02:51 -05:00
[tvigle] Adapt to the new API
This commit is contained in:
@ -1321,7 +1321,7 @@ def str_to_int(int_str):
|
||||
""" A more relaxed version of int_or_none """
|
||||
if int_str is None:
|
||||
return None
|
||||
int_str = re.sub(r'[,\.]', u'', int_str)
|
||||
int_str = re.sub(r'[,\.\+]', u'', int_str)
|
||||
return int(int_str)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user