Fix wrong number of arguments

This commit is contained in:
Erik Johnston 2017-06-06 11:46:38 +01:00
parent 8d34120a53
commit 66b121b2fc

View file

@ -57,7 +57,7 @@ class PusherFactory(object):
logger.info("found pusher")
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
mailer = self.mailers.get(app_name)
if not mailer: