allow change title in database when check RSS
This commit is contained in:
@@ -59,7 +59,7 @@ class RSSCheckerThread(Thread):
|
|||||||
else:
|
else:
|
||||||
raise ValueError('Unknown RSS.')
|
raise ValueError('Unknown RSS.')
|
||||||
self._main._db.updateRSS(
|
self._main._db.updateRSS(
|
||||||
rss.title, rss.url, updateTime, rss.hashList, p.ttl)
|
p.title, rss.url, updateTime, rss.hashList, p.ttl)
|
||||||
except:
|
except:
|
||||||
print(format_exc())
|
print(format_exc())
|
||||||
self._main._db.updateRSSWithError(rss.url, int(time()))
|
self._main._db.updateRSSWithError(rss.url, int(time()))
|
||||||
|
|||||||
Reference in New Issue
Block a user