forked from platypush/platypush
Remove extra pusher attribute on consumer side
This commit is contained in:
parent
c4dc0fd9ae
commit
8d32426554
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue