From: Thorsten Date: Sun, 7 Oct 2018 19:20:46 +0000 (+0200) Subject: last_dsa must be set to some numeric value X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=26e675a2332250baccf323474d122e6935078244;p=urlbot-v3.git last_dsa must be set to some numeric value --- 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: