Rev452, Auto hide no peers found info message, Raise error on invalid file location, Test PEX, Test invalid file downloads, Test peer download and ping

This commit is contained in:
HelloZeroNet 2015-09-28 00:22:27 +02:00
parent 3173313ca2
commit 39413b9755
7 changed files with 128 additions and 7 deletions

View file

@ -472,6 +472,7 @@ class Site:
return task
# Add or update a peer to site
# return_peer: Always return the peer even if it was already present
def addPeer(self, ip, port, return_peer=False):
if not ip:
return False