Fix the remove deck lead server crash issue #28,
the change intruduced after 3.1.28 f592672fa
This commit is contained in:
parent
f5dca1f1e2
commit
1d73376115
@ -194,7 +194,7 @@ from notes where %s""" % lim, self.maxUsn)
|
|||||||
self.col.remCards(graves['cards'], notes=False)
|
self.col.remCards(graves['cards'], notes=False)
|
||||||
# and decks
|
# and decks
|
||||||
for oid in graves['decks']:
|
for oid in graves['decks']:
|
||||||
self.col.decks.rem(oid, childrenToo=False)
|
self.col.decks.rem(oid)
|
||||||
|
|
||||||
self.col.server = False
|
self.col.server = False
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user