From c4ab7c9a7cb7039817669d1896f18393fabe46ea Mon Sep 17 00:00:00 2001 From: Mike Gerber Date: Tue, 14 Mar 2023 13:16:09 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=95=B8Do=20not=20use=20deprecated=20ID,?= =?UTF-8?q?=20pageId=20options?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See gh-75. --- qurator/dinglehopper/ocrd_cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qurator/dinglehopper/ocrd_cli.py b/qurator/dinglehopper/ocrd_cli.py index 9578a0a..c5f79cd 100644 --- a/qurator/dinglehopper/ocrd_cli.py +++ b/qurator/dinglehopper/ocrd_cli.py @@ -66,9 +66,9 @@ class OcrdDinglehopperEvaluate(Processor): [".json", "application/json"], ]: self.workspace.add_file( - ID=file_id + report_suffix, + file_id=file_id + report_suffix, file_grp=self.output_file_grp, - pageId=page_id, + page_id=page_id, mimetype=mimetype, local_filename=report_prefix + report_suffix, )