Bugfix weburl (#217)

This commit is contained in:
Pascal Vizeli 2017-10-10 07:08:56 +02:00 committed by GitHub
parent 547415b30b
commit 55365a631a

View File

@ -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)):