ipc: Clarify comment.

This commit is contained in:
Florian Bruhin 2015-09-02 07:55:35 +02:00
parent cbcd6261b1
commit 6b4b65e585

View File

@ -191,7 +191,8 @@ class IPCServer(QObject):
def on_ready_read(self):
"""Read json data from the client."""
if self._socket is None:
# this happened once and I don't know why
# This happens when doing a connection while another one is already
# active for some reason.
log.ipc.warn("In on_ready_read with None socket!")
return
self._timer.start()