From c2ea31422e2399d2f6462f20a7f15c6b877105ce Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 9 Jul 2019 15:16:02 +1000 Subject: [PATCH] fix flag changes in browser not syncing --- anki/collection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/collection.py b/anki/collection.py index acf151647..03b5c9eaf 100644 --- a/anki/collection.py +++ b/anki/collection.py @@ -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())