pass version to processor base constructor, fix #14

fix/readme-no-checkpoint
Konstantin Baierer 5 years ago
parent 7b0ac5a97a
commit 0fcc5c1f79

@ -22,6 +22,7 @@ class CalamariRecognize(Processor):
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
kwargs['ocrd_tool'] = OCRD_TOOL['tools']['ocrd-calamari-recognize'] kwargs['ocrd_tool'] = OCRD_TOOL['tools']['ocrd-calamari-recognize']
kwargs['version'] = OCRD_TOOL['version']
super(CalamariRecognize, self).__init__(*args, **kwargs) super(CalamariRecognize, self).__init__(*args, **kwargs)
def _init_calamari(self): def _init_calamari(self):

Loading…
Cancel
Save