Fix sitePublish CLI command if no client is running
This commit is contained in:
parent
2829146598
commit
4e56fe9fc3
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ class Actions(object):
|
||||||
time.sleep(0.001)
|
time.sleep(0.001)
|
||||||
|
|
||||||
# Started fileserver
|
# Started fileserver
|
||||||
file_server.openport()
|
file_server.portCheck()
|
||||||
if peer_ip: # Announce ip specificed
|
if peer_ip: # Announce ip specificed
|
||||||
site.addPeer(peer_ip, peer_port)
|
site.addPeer(peer_ip, peer_port)
|
||||||
else: # Just ask the tracker
|
else: # Just ask the tracker
|
||||||
|
|
Loading…
Reference in a new issue