Browse Source

interface: close wire is response is not dict

master
ThomasV 9 years ago
parent
commit
7daa8ebfdd
  1. 3
      lib/interface.py

3
lib/interface.py

@ -313,8 +313,9 @@ class Interface(util.PrintError):
response = self.pipe.get()
except util.timeout:
break
if response is None:
if not type(response) is dict:
responses.append((None, None))
if response is None:
self.closed_remotely = True
self.print_error("connection closed remotely")
break

Loading…
Cancel
Save