From e90a60efe36252cc0dafe2c1076c93aa7be52710 Mon Sep 17 00:00:00 2001 From: Mathias Behrle Date: Mon, 14 Jul 2014 14:21:21 +0200 Subject: [PATCH] Adding missing argument to german language correction file. --- mayan/apps/ocr/lang/deu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mayan/apps/ocr/lang/deu.py b/mayan/apps/ocr/lang/deu.py index df20573b09..6291843844 100644 --- a/mayan/apps/ocr/lang/deu.py +++ b/mayan/apps/ocr/lang/deu.py @@ -7,7 +7,7 @@ from . import BackendBase class LanguageBackend(BackendBase): - def check_word(word): + def check_word(self, word): ALL_ALPHANUM = re.compile('([0-9a-zäöüß])', re.I) NON_ALPHANUM = re.compile('([^0-9a-zäöüß])', re.I) ALL_ALPHANUM = re.compile('([0-9a-z])', re.I)