From 812aca5b34df584a09d3f82f9d938e89d396b2bd Mon Sep 17 00:00:00 2001 From: Evgeny Anatskiy Date: Wed, 12 Oct 2016 12:49:19 +0200 Subject: [PATCH] bug fix --- lib/galaxy/webapps/galaxy/api/webhooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/webapps/galaxy/api/webhooks.py b/lib/galaxy/webapps/galaxy/api/webhooks.py index 95352a84a1c..5865c2c844e 100644 --- a/lib/galaxy/webapps/galaxy/api/webhooks.py +++ b/lib/galaxy/webapps/galaxy/api/webhooks.py @@ -38,7 +38,7 @@ class WebhooksController(BaseAPIController): webhook for webhook in self.app.webhooks_registry.webhooks if webhook_type in webhook.type \ - and webhook.activate == 'true' + and webhook.activate == True ] return random.choice(webhooks).to_dict() if webhooks else {}