From 7940aaad6c044165a4d1dfe90c351348e1cb0de4 Mon Sep 17 00:00:00 2001 From: Alexander PapaTutuWawa Date: Thu, 16 Sep 2021 14:24:09 +0200 Subject: [PATCH] pollen: Fix typo --- papatutuwawa/mira/modules/pollen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/papatutuwawa/mira/modules/pollen.py b/papatutuwawa/mira/modules/pollen.py index ba835d0..7311322 100644 --- a/papatutuwawa/mira/modules/pollen.py +++ b/papatutuwawa/mira/modules/pollen.py @@ -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)