Merge pull request #1952 from tangdou1/patch-6

Update TrayiconPlugin.py for IPV6 compatibility
This commit is contained in:
ZeroNet 2019-04-09 17:53:04 +02:00 committed by GitHub
commit ed12cc1186
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -42,6 +42,9 @@ class ActionsPlugin(object):
ui_ip = config.ui_ip if config.ui_ip != "*" else "127.0.0.1"
if ":" in ui_ip:
ui_ip = "[" + ui_ip + "]"
icon.items = [
(self.titleIp, False),
(self.titleConnections, False),