Fix 100% coverage in misc.ipc
This commit is contained in:
parent
23e7b3f551
commit
df9bee33f4
@ -362,7 +362,7 @@ class IPCServer(QObject):
|
||||
@pyqtSlot()
|
||||
def on_timeout(self):
|
||||
"""Cancel the current connection if it was idle for too long."""
|
||||
if self._socket is None:
|
||||
if self._socket is None: # pragma: no cover
|
||||
log.ipc.error("on_timeout got called with None socket!")
|
||||
return
|
||||
log.ipc.error("IPC connection timed out "
|
||||
|
Loading…
Reference in New Issue
Block a user