From 5fd04677f9871675bc5babee46e562d035e2021b Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Thu, 10 Oct 2019 18:31:29 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20sbb=5Ftextline=5Fdetector:=20Fix?= =?UTF-8?q?=20filenames=20of=20created=20OCR-D=20file=20group?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- qurator/sbb_textline_detector/ocrd_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qurator/sbb_textline_detector/ocrd_cli.py b/qurator/sbb_textline_detector/ocrd_cli.py index 854a5dc..8df0baf 100644 --- a/qurator/sbb_textline_detector/ocrd_cli.py +++ b/qurator/sbb_textline_detector/ocrd_cli.py @@ -54,7 +54,7 @@ class OcrdSbbTextlineDetectorRecognize(Processor): file_grp=self.output_file_grp, pageId=page_id, mimetype='application/vnd.prima.page+xml', - local_filename=self.output_file_grp + '/' + file_id) + local_filename=os.path.join(self.output_file_grp, file_id) + '.xml') if __name__ == '__main__':