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:
parent
3173313ca2
commit
39413b9755
7 changed files with 128 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue