From 0fcc5c1f79a95ac8dea5b09acdcf75f2e65ad96e Mon Sep 17 00:00:00 2001 From: Konstantin Baierer Date: Mon, 2 Dec 2019 18:02:01 +0100 Subject: [PATCH] pass version to processor base constructor, fix #14 --- ocrd_calamari/recognize.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ocrd_calamari/recognize.py b/ocrd_calamari/recognize.py index d7d2581..969de21 100644 --- a/ocrd_calamari/recognize.py +++ b/ocrd_calamari/recognize.py @@ -22,6 +22,7 @@ class CalamariRecognize(Processor): def __init__(self, *args, **kwargs): kwargs['ocrd_tool'] = OCRD_TOOL['tools']['ocrd-calamari-recognize'] + kwargs['version'] = OCRD_TOOL['version'] super(CalamariRecognize, self).__init__(*args, **kwargs) def _init_calamari(self):