eric7/Toolbox/SingleApplication.py

branch
eric7
changeset 8580
e91b276e0771
parent 8358
144a6b854f70
child 8881
54e42bc2437a
equal deleted inserted replaced
8579:cfd0e44ef084 8580:e91b276e0771
152 else: 152 else:
153 err = self.sock.error() 153 err = self.sock.error()
154 if err == QLocalSocket.LocalSocketError.ServerNotFoundError: 154 if err == QLocalSocket.LocalSocketError.ServerNotFoundError:
155 return 0 155 return 0
156 else: 156 else:
157 return -err 157 return -err.value
158 158
159 def disconnect(self): 159 def disconnect(self):
160 """ 160 """
161 Public method to disconnect from the Single Appliocation server. 161 Public method to disconnect from the Single Appliocation server.
162 """ 162 """

eric ide

mercurial