qurator-spk / sbb_binarization

Document Image Binarization
Apache License 2.0
67 stars 14 forks source link

use types.Path instead of click.Path to avoid NameError #40

Closed maxnth closed 1 year ago

maxnth commented 1 year ago

Fixes a problem introduced by 0877199c68a318067935d57a088f9bcf1afac8c2 where import click was removed (as importing types from click is sufficient) but w/o removing references to the click namespace in the code. This leads to a NameError when calling the CLI, replacing click.Path with types.Path resolves this.