Skip to content

Commit

Permalink
run_processor: handle frozendict or empty parameter in profile log
Browse files Browse the repository at this point in the history
  • Loading branch information
bertsky committed Feb 17, 2025
1 parent ee24a3e commit f0de566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ocrd/processor/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def run_processor(
t1_cpu,
processor.input_file_grp or '',
processor.output_file_grp or '',
json.dumps(processor.parameter) or '',
json.dumps(dict(processor.parameter or {})),
processor.page_id or ''
)
workspace.mets.add_agent(
Expand Down

0 comments on commit f0de566

Please # to comment.