mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
fix deck conf syncing
This commit is contained in:
parent
bacbea13e0
commit
dc89e34410
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@ from notes where %s""" % d)
|
|||
if not l or r['mod'] > l['mod']:
|
||||
self.col.decks.update(r)
|
||||
for r in rchg[1]:
|
||||
l = self.col.decks.confForDid(r['id'])
|
||||
l = self.col.decks.getConf(r['id'])
|
||||
# if missing locally or server is newer, update
|
||||
if not l or r['mod'] > l['mod']:
|
||||
self.col.decks.updateConf(r)
|
||||
|
|
Loading…
Reference in a new issue