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

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)