From 884ae747859a9819292f9a0199a3d76b0cb1d98f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergey=20M=E2=80=A4?= Date: Wed, 3 Sep 2014 19:59:36 +0700 Subject: [tvigle] Adapt to the new API --- youtube_dl/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'youtube_dl/utils.py') diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index 6fe057234..91afe8622 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -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) -- cgit v1.2.3