From 0d756b420d4df976ad309eae8df281d131c784e0 Mon Sep 17 00:00:00 2001 From: kba Date: Mon, 15 Apr 2024 17:18:04 +0200 Subject: [PATCH] __name__ should be __package__, #10 --- ocrd_froc/processor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocrd_froc/processor.py b/ocrd_froc/processor.py index ddcdb87..6d69d5e 100644 --- a/ocrd_froc/processor.py +++ b/ocrd_froc/processor.py @@ -21,7 +21,7 @@ from ocrd_modelfactory import page_from_file from .froc import Froc -OCRD_TOOL = loads(resource_string(__name__, 'ocrd-tool.json')) +OCRD_TOOL = loads(resource_string(__package__, 'ocrd-tool.json')) class FROCProcessor(Processor):