Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
fixed compose_api call location
Browse files Browse the repository at this point in the history
  • Loading branch information
adpham95 committed May 30, 2018
1 parent 9c0c67a commit 3419816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion walkoff.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ def run(app, host, port):
pids = spawn_worker_processes()
monkey.patch_all()

compose_api()

app.running_context.executor.initialize_threading(app, pids)
# The order of these imports matter for initialization (should probably be fixed)
Expand Down Expand Up @@ -97,6 +96,7 @@ def import_workflows(app):
if __name__ == "__main__":
args = parse_args()
exit_code = 0
compose_api()
walkoff.config.initialize(args.config)
app = create_app(walkoff.config.Config)
import_workflows(app)
Expand Down

0 comments on commit 3419816

Please sign in to comment.