Remove extra pusher attribute on consumer side

This commit is contained in:
Fabio Manganiello 2017-11-29 02:59:56 +01:00
parent c4dc0fd9ae
commit 8d32426554
1 changed files with 3 additions and 0 deletions

View File

@ -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)