1
0

python3 updates

This commit is contained in:
ThomasV
2017-08-13 12:00:33 +02:00
parent d8e37644d3
commit e02687bcf2
6 changed files with 25 additions and 31 deletions

View File

@@ -937,7 +937,7 @@ class Network(util.DaemonThread):
self.notify('interfaces')
def maintain_requests(self):
for interface in self.interfaces.values():
for interface in list(self.interfaces.values()):
if interface.request and time.time() - interface.request_time > 20:
interface.print_error("blockchain request timed out")
self.connection_down(interface.server)