commit e517321f76cdc6855fcb97e42ad6922ccc148dac
parent 6ea04e2d47e39332bae600c7c899ab3ae1b52a81
Author: ThomasV <thomasv@gitorious>
Date: Wed, 10 Jun 2015 18:26:03 +0200
Network: fix handle_requests, must process requests even if we are not connected
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/network.py b/lib/network.py
@@ -436,7 +436,7 @@ class Network(util.DaemonThread):
self.response_queue.put(response)
def handle_requests(self):
- while self.interface:
+ while self.is_running():
try:
request = self.requests_queue.get_nowait()
except Queue.Empty: