From 4696a6126a0741798a6359c6b56307d8dc14fb25 Mon Sep 17 00:00:00 2001 From: Uriziel Date: Sun, 30 Sep 2012 16:43:26 +0200 Subject: [PATCH] revert previous "on stop" change --- syncplay/client.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/syncplay/client.py b/syncplay/client.py index 12a5447..30df7af 100644 --- a/syncplay/client.py +++ b/syncplay/client.py @@ -260,8 +260,6 @@ class SyncplayClientManager(object): reactor.run() def stop(self, promptForAction = True): - if(promptForAction): - self.ui.promptFor("Press enter to exit\n") if not self.running: return self.running = False @@ -272,7 +270,8 @@ class SyncplayClientManager(object): if self.player: self.player.drop() reactor.callLater(0.1, reactor.stop) - + if(promptForAction): + self.ui.promptFor("Press enter to exit\n") def checkIfFileMatchesOthers(self): notMatchingList = self.users.getUsersWithNotMatchingFilenames()