mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
no need to close the deck twice
This commit is contained in:
parent
dd336fc7a7
commit
01c6ca6776
1 changed files with 0 additions and 3 deletions
|
@ -206,9 +206,6 @@ sync was aborted. Please report this error.""")
|
||||||
while not self.clobberChoice:
|
while not self.clobberChoice:
|
||||||
time.sleep(0.2)
|
time.sleep(0.2)
|
||||||
if self.clobberChoice == "cancel":
|
if self.clobberChoice == "cancel":
|
||||||
# deck has already been closed in
|
|
||||||
# prepareFullSync(), so clean up
|
|
||||||
self.deck.close()
|
|
||||||
# disable syncing on this deck
|
# disable syncing on this deck
|
||||||
c = sqlite.connect(sqlpath)
|
c = sqlite.connect(sqlpath)
|
||||||
c.execute(
|
c.execute(
|
||||||
|
|
Loading…
Reference in a new issue