mirror of
https://github.com/mikegerber/ocrd_calamari.git
synced 2025-06-09 03:39:55 +02:00
Merge pull request #16 from OCR-D/fix-version
pass version to processor base constructor, fix #14
This commit is contained in:
commit
afe6eec5a2
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue