aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/utils.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2014-09-03 19:59:36 +0700
committerSergey M․ <dstftw@gmail.com>2014-09-03 19:59:36 +0700
commit884ae747859a9819292f9a0199a3d76b0cb1d98f (patch)
tree03db7c6c32217c3d7a2de52754c0f70b820a7703 /youtube_dl/utils.py
parent7d4d5f25edb607371bb53c3b9bd8ed805c6fb0f6 (diff)
[tvigle] Adapt to the new API
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r--youtube_dl/utils.py2
1 files changed, 1 insertions, 1 deletions
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)