Skip to content

Commit 30961a6

Browse files
authored
Merge pull request #47 from bertsky/fix-v3-regression
relax self.parameter assertion (frozendict!=dict)
2 parents 76f6951 + a89456a commit 30961a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ocrd_page_to_alto/ocrd_processor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def process_page_file(self, *input_files: Optional[OcrdFileType]) -> None:
2222
input_file = input_files[0]
2323
assert input_file
2424
assert input_file.local_filename
25-
assert isinstance(self.parameter, dict)
25+
assert self.parameter
2626
assert input_file.mimetype == MIMETYPE_PAGE
2727
self.logger.debug("converting file %s", input_file.local_filename)
2828
converter = OcrdPageAltoConverter(

0 commit comments

Comments
 (0)