Fix sitePublish CLI command if no client is running

This commit is contained in:
shortcutme 2019-02-09 13:56:44 +01:00
parent 2829146598
commit 4e56fe9fc3
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -376,7 +376,7 @@ class Actions(object):
time.sleep(0.001)
# Started fileserver
file_server.openport()
file_server.portCheck()
if peer_ip: # Announce ip specificed
site.addPeer(peer_ip, peer_port)
else: # Just ask the tracker