fix flag changes in browser not syncing

This commit is contained in:
Damien Elmes 2019-07-09 15:16:02 +10:00
parent 6661ba8a77
commit 00f171e6c3

View file

@ -937,4 +937,4 @@ and type=0""", [intTime(), self.usn()])
def setUserFlag(self, flag, cids):
assert 0 <= flag <= 7
self.db.execute("update cards set flags = (flags & ~?) | ?, usn=?, mod=? where id in %s" %
ids2str(cids), 0b111, flag, self._usn, intTime())
ids2str(cids), 0b111, flag, self.usn(), intTime())