From 26e675a2332250baccf323474d122e6935078244 Mon Sep 17 00:00:00 2001 From: Thorsten Date: Sun, 7 Oct 2018 21:20:46 +0200 Subject: [PATCH] last_dsa must be set to some numeric value --- distbot/plugins/feeds.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/distbot/plugins/feeds.py b/distbot/plugins/feeds.py index eac2154..e203784 100644 --- a/distbot/plugins/feeds.py +++ b/distbot/plugins/feeds.py @@ -67,6 +67,8 @@ class DSAWatcher(Worker): # configobj, why u no work? if last_dsa and last_dsa != "None": last_dsa = int(last_dsa) + else: + last_dsa = 0 last_dsa_date = conf_get('plugins.dsa-watcher.last_dsa_date') if last_dsa_date: -- 2.39.2