marton levente 7 mesiacov pred
rodič
commit
233feb96a7
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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: