Store detected external ips to separate variable
This commit is contained in:
parent
6662b4f047
commit
f706f7508e
5 changed files with 10 additions and 8 deletions
|
@ -83,8 +83,8 @@ class ActionsPlugin(object):
|
|||
webbrowser.open(url, new=0)
|
||||
|
||||
def titleIp(self):
|
||||
title = "!IP: %s " % config.ip_external
|
||||
if self.main.file_server.port_opened:
|
||||
title = "!IP: %s " % ", ".join(self.main.file_server.ip_external_list)
|
||||
if any(self.main.file_server.port_opened):
|
||||
title += _["(active)"]
|
||||
else:
|
||||
title += _["(passive)"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue