]> git.aero2k.de Git - urlbot-v3.git/commitdiff
last_dsa must be set to some numeric value
authorThorsten <mail@aero2k.de>
Sun, 7 Oct 2018 19:20:46 +0000 (21:20 +0200)
committerThorsten <mail@aero2k.de>
Sun, 7 Oct 2018 19:20:46 +0000 (21:20 +0200)
distbot/plugins/feeds.py

index eac2154846bf60836320e1d0c21e954228283b49..e2037842625187eec5d5c5305f86d6e6efca96d1 100644 (file)
@@ -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: