diff --git a/src/ocrd_network/cli/client.py b/src/ocrd_network/cli/client.py index f6593fb147..9c7f15c88f 100644 --- a/src/ocrd_network/cli/client.py +++ b/src/ocrd_network/cli/client.py @@ -90,7 +90,7 @@ def check_processing_job_status(address: Optional[str], processing_job_id: str): print(f"Processing job status: {job_status}") -@processing_cli.command('processor') +@processing_cli.command('run') @click.argument('processor_name', required=True, type=click.STRING) @click.option('--address', help='The address of the Processing Server. If not provided, ' diff --git a/src/ocrd_network/client.py b/src/ocrd_network/client.py index ff9ad870e3..8ec8e541ea 100644 --- a/src/ocrd_network/client.py +++ b/src/ocrd_network/client.py @@ -28,7 +28,7 @@ def __init__( verify_server_protocol(self.server_addr_processing) self.polling_timeout = timeout self.polling_wait = wait - self.polling_tries = int(timeout/wait) + self.polling_tries = int(timeout / wait) def check_deployed_processors(self): return get_ps_deployed_processors(ps_server_host=self.server_addr_processing)