Skip to content

Commit

Permalink
fix the remove deck lead server crash issue ankicommunity#28,change i…
Browse files Browse the repository at this point in the history
…ntruduced after 3.1.28 f592672fa
  • Loading branch information
cecini committed Oct 30, 2020
1 parent 4f905c9 commit 99e7066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ankisyncd/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def remove(self, graves):
self.col.remCards(graves['cards'], notes=False)
# and decks
for oid in graves['decks']:
self.col.decks.rem(oid, childrenToo=False)
self.col.decks.rem(oid)

self.col.server = False

Expand Down

0 comments on commit 99e7066

Please sign in to comment.