Fix missing classname

This commit is contained in:
Jean-Marie Favreau 2024-10-12 21:17:55 +02:00
parent 2653d088c4
commit 51d71b748f

View File

@ -29,7 +29,7 @@ class Extractor(ABC):
return start_day return start_day
def guess_startswith(text, strs): def guess_startswith(text, strs):
t = remove_accents(text).lower() t = Extractor.remove_accents(text).lower()
for i, s in enumerate(strs): for i, s in enumerate(strs):
if t.startswith(s): if t.startswith(s):
return i + 1 return i + 1