allow change title in database when check RSS

This commit is contained in:
2021-05-05 21:55:52 +08:00
parent b80c5b5638
commit 326bf5d638

View File

@@ -59,7 +59,7 @@ class RSSCheckerThread(Thread):
else:
raise ValueError('Unknown RSS.')
self._main._db.updateRSS(
rss.title, rss.url, updateTime, rss.hashList, p.ttl)
p.title, rss.url, updateTime, rss.hashList, p.ttl)
except:
print(format_exc())
self._main._db.updateRSSWithError(rss.url, int(time()))