Skip to content

Commit

Permalink
fix validate cli
Browse files Browse the repository at this point in the history
  • Loading branch information
kba committed Nov 26, 2018
1 parent 81eb7c1 commit 1c84a4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocrd/cli/workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def workspace_cli(ctx, directory, mets_basename, backup):
@pass_workspace
@click.argument('mets_url')
def validate_workspace(ctx, mets_url=None):
report = WorkspaceValidator.validate_url(ctx.resolver, mets_url, directory=ctx.directory)
report = WorkspaceValidator.validate_url(ctx.resolver, mets_url, src_dir=ctx.directory)
print(report.to_xml())
if not report.is_valid:
sys.exit(128)
Expand Down

0 comments on commit 1c84a4b

Please sign in to comment.