Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
bertsky committed Aug 16, 2024
1 parent 0e57b4b commit 9cfd70c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/ocrd/decorators/parameter_option.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from click import option
#from ocrd_utils import parse_json_string_or_file

__all__ = ['parameter_option', 'parameter_override_option']


def _handle_param_option(ctx, param, value):
from ocrd_utils import parse_json_string_or_file
return parse_json_string_or_file(*list(value))

parameter_option = option('-p', '--parameter',
Expand Down
1 change: 1 addition & 0 deletions src/ocrd/workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
coordinates_of_segment,
adjust_canvas_to_rotation,
adjust_canvas_to_transposition,
scale_coordinates,
shift_coordinates,
rotate_coordinates,
transform_coordinates,
Expand Down

0 comments on commit 9cfd70c

Please sign in to comment.