fix deck conf syncing

This commit is contained in:
Damien Elmes 2011-12-13 13:58:31 +09:00
parent bacbea13e0
commit dc89e34410

View file

@ -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)