[tvigle] Adapt to the new API
[youtube-dl] / youtube_dl / utils.py
index 6fe05723484303839947357124fc9d9ebfadcf4e..91afe8622984682678ae5c807b8454b9449413a3 100644 (file)
@@ -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)