Fix changement portée variable

This commit is contained in:
Jean-Marie Favreau 2024-10-17 09:59:57 +02:00
parent 107c55863c
commit 19617d2427

View File

@ -43,7 +43,7 @@ class Extractor(ABC):
"nov",
"dec",
]
t = remove_accents(text).lower()
t = Extractor.remove_accents(text).lower()
for i, m in enumerate(mths):
if t.startswith(m):
return i + 1