Ignore QLocalSocket.ServerNotFoundError while connecting.
This commit is contained in:
parent
2f0bbab635
commit
8195f1875e
@ -74,7 +74,8 @@ def send_to_running_instance(cmdlist):
|
||||
else:
|
||||
return True
|
||||
else:
|
||||
if socket.error() != QLocalSocket.ConnectionRefusedError:
|
||||
if socket.error() not in (QLocalSocket.ConnectionRefusedError,
|
||||
QLocalSocket.ServerNotFoundError):
|
||||
_socket_error("connecting to running instance", socket)
|
||||
else:
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user