Timeout message is more English than it was now
This commit is contained in:
parent
694747397c
commit
866739fd34
@ -108,7 +108,7 @@ class SyncplayClient(object):
|
|||||||
def checkIfConnected(self):
|
def checkIfConnected(self):
|
||||||
if(self._lastGlobalUpdate and self._protocol and time.time() - self._lastGlobalUpdate > 4.1):
|
if(self._lastGlobalUpdate and self._protocol and time.time() - self._lastGlobalUpdate > 4.1):
|
||||||
self._lastGlobalUpdate = None
|
self._lastGlobalUpdate = None
|
||||||
self.ui.showErrorMessage("Connection with server timeouted")
|
self.ui.showErrorMessage("Connection with server timed out")
|
||||||
self._protocol.drop()
|
self._protocol.drop()
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user