marton levente 7 miesięcy temu
rodzic
commit
233feb96a7
1 zmienionych plików z 1 dodań i 1 usunięć
  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: