mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-10 02:36:29 +00:00
Bugfix weburl (#217)
This commit is contained in:
parent
547415b30b
commit
55365a631a
@ -219,9 +219,9 @@ class Addon(object):
|
||||
|
||||
# search host port for this docker port
|
||||
if self.ports is None:
|
||||
port = self.ports.get("{}/tcp".format(t_port), t_port)
|
||||
else:
|
||||
port = t_port
|
||||
else:
|
||||
port = self.ports.get("{}/tcp".format(t_port), t_port)
|
||||
|
||||
# for interface config or port lists
|
||||
if isinstance(port, (tuple, list)):
|
||||
|
Loading…
x
Reference in New Issue
Block a user