pollen: Fix function name
This commit is contained in:
parent
eab0199f44
commit
bf077a5af0
@ -239,7 +239,7 @@ class PollenModule(BaseModule):
|
||||
self.send_message(msg.from_, "Du erhälst keine Pollenmeldungen mehr")
|
||||
return
|
||||
|
||||
if not self._sum.is_subscribed_to_data_one(
|
||||
if not self._sum.is_subscribed_to_data_func(
|
||||
jid, plz, lambda x: x["type"] == allergy
|
||||
):
|
||||
self.send_message(msg.from_, "Du hast %s nicht abonniert" % (allergy))
|
||||
|
Loading…
Reference in New Issue
Block a user