Fix wrong number of arguments
This commit is contained in:
parent
8d34120a53
commit
66b121b2fc
|
@ -57,7 +57,7 @@ class PusherFactory(object):
|
||||||
logger.info("found pusher")
|
logger.info("found pusher")
|
||||||
return self.pusher_types[pusherdict['kind']](self.hs, pusherdict)
|
return self.pusher_types[pusherdict['kind']](self.hs, pusherdict)
|
||||||
|
|
||||||
def _create_email_pusher(self, pusherdict):
|
def _create_email_pusher(self, _hs, pusherdict):
|
||||||
app_name = self._brand_from_pusherdict
|
app_name = self._brand_from_pusherdict
|
||||||
mailer = self.mailers.get(app_name)
|
mailer = self.mailers.get(app_name)
|
||||||
if not mailer:
|
if not mailer:
|
||||||
|
|
Loading…
Reference in New Issue