浏览代码

series corr

marton levente 7 月之前
父节点
当前提交
233feb96a7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      anafapi/anafoauth.py

+ 1 - 1
anafapi/anafoauth.py

@@ -311,7 +311,7 @@ class Efactoauth(Anafoauth):
         return body
 
     def _get_series(self, inv_id):
-        series = re.search('[A-Z]*', inv_id)
+        series = re.search('[A-Z-]*', inv_id)
         if series:
             return series.group()
         else: