mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
force save after sync
This commit is contained in:
parent
58935afba7
commit
3c995017fe
1 changed files with 2 additions and 0 deletions
|
@ -159,6 +159,8 @@ select count() from notes where id not in (select distinct nid from cards)""")
|
|||
mod = intTime(1000)
|
||||
self.col.ls = mod
|
||||
self.col._usn = self.maxUsn + 1
|
||||
# ensure we save the mod time even if no changes made
|
||||
self.col.db.mod = True
|
||||
self.col.save(mod=mod)
|
||||
return mod
|
||||
|
||||
|
|
Loading…
Reference in a new issue