Fix ipc on Windows, take 2.

This commit is contained in:
Florian Bruhin 2015-09-10 08:04:02 +02:00
parent 87ccc31cce
commit 087e9a4266

View File

@ -203,7 +203,8 @@ class IPCServer(QObject):
def listen(self):
"""Start listening on self._socketname."""
log.ipc.debug("Listening as {}".format(self._socketname))
self._atime_timer.start()
if self._atime_timer is not None: # pragma: no branch
self._atime_timer.start()
self._remove_server()
ok = self._server.listen(self._socketname)
if not ok: