diff --git a/tools/test-events-clightning.py b/tools/test-events-clightning.py index 0a802ee1b..d6119c3bf 100755 --- a/tools/test-events-clightning.py +++ b/tools/test-events-clightning.py @@ -266,7 +266,7 @@ def recv(self, conn, outbuf, line): # reading it to figure out what went wrong. fut = self.executor.submit(self._readmsg, conn) try: - msg = fut.result(1) + msg = fut.result(1) except futures.TimeoutError: msg = None if msg: