From dcebdbaa1001e3470472d60ba38c11f795155a83 Mon Sep 17 00:00:00 2001 From: Etoh Date: Wed, 19 Feb 2014 20:30:13 +0000 Subject: [PATCH] Re-work client drop (protocols.py) --- syncplay/protocols.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syncplay/protocols.py b/syncplay/protocols.py index c8efaf5..17ce907 100644 --- a/syncplay/protocols.py +++ b/syncplay/protocols.py @@ -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