no need to close the deck twice

This commit is contained in:
Damien Elmes 2010-12-05 18:11:51 +09:00
parent dd336fc7a7
commit 01c6ca6776

View file

@ -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(