fix bug in database.py
This commit is contained in:
@@ -330,7 +330,7 @@ PRIMARY KEY (userId)
|
|||||||
return False
|
return False
|
||||||
self._db.execute(
|
self._db.execute(
|
||||||
f"UPDATE RSSList SET forceupdate=? WHERE id=?;",
|
f"UPDATE RSSList SET forceupdate=? WHERE id=?;",
|
||||||
('true' if forceupdate else 'false', hashd))
|
(forceupdate, hashd))
|
||||||
self._db.commit()
|
self._db.commit()
|
||||||
return True
|
return True
|
||||||
except:
|
except:
|
||||||
|
|||||||
Reference in New Issue
Block a user