mirror of
https://github.com/Syncplay/syncplay
synced 2024-12-16 20:04:42 +00:00
Re-work client drop (protocols.py)
This commit is contained in:
parent
38d240d135
commit
dcebdbaa10
@ -67,9 +67,9 @@ class SyncClientProtocol(JSONCommandProtocol):
|
||||
self._client.destroyProtocol()
|
||||
|
||||
def dropWithError(self, error):
|
||||
self._client.ui.showErrorMessage(error)
|
||||
self._client.protocolFactory.stopRetrying()
|
||||
self.drop()
|
||||
self._client.drop()
|
||||
self._client.stop(error)
|
||||
|
||||
def _extractHelloArguments(self, hello):
|
||||
username = hello["username"] if hello.has_key("username") else None
|
||||
|
Loading…
Reference in New Issue
Block a user