Skip to content

Commit

Permalink
workflow server: trigger the actual instantiation
Browse files Browse the repository at this point in the history
  • Loading branch information
bertsky committed Jan 25, 2021
1 parent fddb236 commit b4a8bcb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ocrd/ocrd/cli/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ def server_cli(log_level, host, port, tasks):
log = getLogger('ocrd.workflow.server')
log.debug("Parsing and instantiating %d tasks", len(tasks))
tasks = parse_tasks(tasks)
for task in tasks:
task.instantiate()
app = flask.Flask(__name__)
@app.route('/process')
def process(): # pylint: disable=unused-variable
Expand Down

0 comments on commit b4a8bcb

Please sign in to comment.