revert previous "on stop" change
This commit is contained in:
parent
25ab66e0ad
commit
4696a6126a
@ -260,8 +260,6 @@ class SyncplayClientManager(object):
|
|||||||
reactor.run()
|
reactor.run()
|
||||||
|
|
||||||
def stop(self, promptForAction = True):
|
def stop(self, promptForAction = True):
|
||||||
if(promptForAction):
|
|
||||||
self.ui.promptFor("Press enter to exit\n")
|
|
||||||
if not self.running:
|
if not self.running:
|
||||||
return
|
return
|
||||||
self.running = False
|
self.running = False
|
||||||
@ -272,7 +270,8 @@ class SyncplayClientManager(object):
|
|||||||
if self.player:
|
if self.player:
|
||||||
self.player.drop()
|
self.player.drop()
|
||||||
reactor.callLater(0.1, reactor.stop)
|
reactor.callLater(0.1, reactor.stop)
|
||||||
|
if(promptForAction):
|
||||||
|
self.ui.promptFor("Press enter to exit\n")
|
||||||
|
|
||||||
def checkIfFileMatchesOthers(self):
|
def checkIfFileMatchesOthers(self):
|
||||||
notMatchingList = self.users.getUsersWithNotMatchingFilenames()
|
notMatchingList = self.users.getUsersWithNotMatchingFilenames()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user