From b4fcb78f6b5aaa502cc1dfe3c48d20cb35250f30 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Mon, 23 Sep 2019 23:55:04 +0200 Subject: [PATCH] Remove deprecated handler register --- wo/cli/plugins/stack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wo/cli/plugins/stack.py b/wo/cli/plugins/stack.py index eee1e0b..1f1acc2 100644 --- a/wo/cli/plugins/stack.py +++ b/wo/cli/plugins/stack.py @@ -997,7 +997,7 @@ class WOStackController(CementBaseController): def load(app): # register the plugin class.. this only happens if the plugin is enabled - handler.register(WOStackController) + app.handler.register(WOStackController) handler.register(WOStackStatusController) handler.register(WOStackMigrateController) handler.register(WOStackUpgradeController)