Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Fix URL/port generation during installation

Roland Geider85d3e09e93b5
diff --git a/wger/main.py b/wger/main.py
index 08a4617be..fadfaf51d 100755
--- a/wger/main.py
+++ b/wger/main.py
@@ -167,7 +167,7 @@ def _main(opts, database_path=None):
if port == 80:
url = "http://{0}".format(addr)
else:
- url = "http://{0}:{0}".format(addr, port)
+ url = "http://{0}:{1}".format(addr, port)
# Create settings if necessary
if not os.path.exists(settings_path):