From 34198168e613f6ba6a3c7220b17f267cc6036562 Mon Sep 17 00:00:00 2001 From: Andrew Pham <32873177+adpham95@users.noreply.github.com> Date: Wed, 30 May 2018 18:17:10 -0400 Subject: [PATCH] fixed compose_api call location --- walkoff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/walkoff.py b/walkoff.py index 94c7ff666..ccc61174e 100644 --- a/walkoff.py +++ b/walkoff.py @@ -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) @@ -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)