From fcad1f99fbf8132bad439f5052a4a6a310b34327 Mon Sep 17 00:00:00 2001 From: Thorsten Date: Sun, 7 Oct 2018 21:17:15 +0200 Subject: [PATCH] fix last_dsa_date (which is also just a number as string) --- distbot/plugins/feeds.py | 1 + 1 file changed, 1 insertion(+) diff --git a/distbot/plugins/feeds.py b/distbot/plugins/feeds.py index 91b720d..eac2154 100644 --- a/distbot/plugins/feeds.py +++ b/distbot/plugins/feeds.py @@ -70,6 +70,7 @@ class DSAWatcher(Worker): last_dsa_date = conf_get('plugins.dsa-watcher.last_dsa_date') if last_dsa_date: + last_dsa_date = float(last_dsa_date) since = datetime.fromtimestamp(last_dsa_date) else: since = datetime.today() - timedelta(days=3) -- 2.39.2