Skip to content

Commit

Permalink
replace-page: fix getLogger context
Browse files Browse the repository at this point in the history
  • Loading branch information
bertsky committed Feb 7, 2021
1 parent b024b80 commit c0833e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocrd_segment/replace_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
from .repair import ensure_consistent

TOOL = 'ocrd-segment-replace-page'
LOG = getLogger('processor.ReplacePage')

class ReplacePage(Processor):

Expand Down Expand Up @@ -51,6 +50,7 @@ def process(self):
Produce a new output file by serialising the resulting hierarchy.
"""
LOG = getLogger('processor.ReplacePage')
assert_file_grp_cardinality(self.input_file_grp, 2, 'original, page')
assert_file_grp_cardinality(self.output_file_grp, 1)
adapt_coords = self.parameter['transform_coordinates']
Expand Down

0 comments on commit c0833e5

Please sign in to comment.