From 8d3242655438fa9a67f8cd44ee3a73281425b684 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Wed, 29 Nov 2017 02:59:56 +0100 Subject: [PATCH] Remove extra pusher attribute on consumer side --- runbullet/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/runbullet/__init__.py b/runbullet/__init__.py index 8b158391b..49889480a 100644 --- a/runbullet/__init__.py +++ b/runbullet/__init__.py @@ -135,6 +135,9 @@ def get_backends(config): (module.__name__.title().split('.')[2:]) ) + 'Backend' + # Ignore the pusher attribute here + if 'pusher' in config: del config['pusher'] + try: b = getattr(module, cls_name)(config[k]) backends.append(b)