mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-11 11:16:30 +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
|
# search host port for this docker port
|
||||||
if self.ports is None:
|
if self.ports is None:
|
||||||
port = self.ports.get("{}/tcp".format(t_port), t_port)
|
|
||||||
else:
|
|
||||||
port = t_port
|
port = t_port
|
||||||
|
else:
|
||||||
|
port = self.ports.get("{}/tcp".format(t_port), t_port)
|
||||||
|
|
||||||
# for interface config or port lists
|
# for interface config or port lists
|
||||||
if isinstance(port, (tuple, list)):
|
if isinstance(port, (tuple, list)):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user