pollen: Fix typo

This commit is contained in:
PapaTutuWawa 2021-09-16 14:24:09 +02:00
parent 2516b8d56c
commit 7940aaad6c

View File

@ -114,7 +114,7 @@ class PollenModule(BaseModule):
Marks a date as being sent to a user. Also ensures that
there are at maximum 7 days in this list
"""
date_ints = [int(date.replace("-", "") for date in new_dates)]
date_ints = [int(date.replace("-", "")) for date in new_dates]
oldest_date = max(date_ints)
self._oldest_date_notified[jid] = oldest_date
self._stm.set_data("oldest_date_notified", self._oldest_date_notified)