From 7965e576fbd8f11e1b157b5ee0c9ad5ac7cacc25 Mon Sep 17 00:00:00 2001 From: Ivan Mecimore Date: Wed, 20 Oct 2021 16:19:51 -0700 Subject: [PATCH] Add kwargs to signal sent when is_active is checked --- gargoyle/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gargoyle/manager.py b/gargoyle/manager.py index 079b5e9..ce6a5e0 100644 --- a/gargoyle/manager.py +++ b/gargoyle/manager.py @@ -46,7 +46,7 @@ def is_active(self, key, *instances, **kwargs): """ default = kwargs.pop('default', False) - key_is_active_checked.send(sender=self, key=key) + key_is_active_checked.send(sender=self, key=key, **kwargs) # Check all parents for a disabled state parts = key.split(':')