Skip to content

Commit

Permalink
Merge pull request #48 from cecini/remdeckcrash
Browse files Browse the repository at this point in the history
Fix the remove deck lead server crash issue #28
  • Loading branch information
VikashKothary authored Nov 15, 2020
2 parents ce1e632 + 1d73376 commit b3cf7ce
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 b3cf7ce

Please sign in to comment.