rev 196, Configurable data dir, log dir and config file, fix for getFile unhandled exceptions, add http://zeronet.io to readme
This commit is contained in:
parent
1c1d9fb75c
commit
66eca389bf
15 changed files with 69 additions and 53 deletions
|
@ -154,7 +154,7 @@ class FileRequest(object):
|
|||
for peer in params["peers"]: # Add sent peers to site
|
||||
address = self.unpackAddress(peer)
|
||||
got_peer_keys.append("%s:%s" % address)
|
||||
if (site.addPeer(*address)): added += 1
|
||||
if site.addPeer(*address): added += 1
|
||||
# Send back peers that is not in the sent list and connectable (not port 0)
|
||||
packed_peers = [peer.packAddress() for peer in site.getConnectablePeers(params["need"], got_peer_keys)]
|
||||
if added:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue