]> git.aero2k.de Git - urlbot-v3.git/commitdiff
fix last_dsa_date (which is also just a number as string)
authorThorsten <mail@aero2k.de>
Sun, 7 Oct 2018 19:17:15 +0000 (21:17 +0200)
committerThorsten <mail@aero2k.de>
Sun, 7 Oct 2018 19:17:15 +0000 (21:17 +0200)
distbot/plugins/feeds.py

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