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