From 01c6ca6776689e17f2a217abc361e20e1f81253a Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 5 Dec 2010 18:11:51 +0900 Subject: [PATCH] no need to close the deck twice --- ankiqt/ui/sync.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/ankiqt/ui/sync.py b/ankiqt/ui/sync.py index 819f79ee2..63e24a4dc 100755 --- a/ankiqt/ui/sync.py +++ b/ankiqt/ui/sync.py @@ -206,9 +206,6 @@ sync was aborted. Please report this error.""") while not self.clobberChoice: time.sleep(0.2) if self.clobberChoice == "cancel": - # deck has already been closed in - # prepareFullSync(), so clean up - self.deck.close() # disable syncing on this deck c = sqlite.connect(sqlpath) c.execute(