summaryrefslogtreecommitdiff
path: root/bin/taler_urls.py
diff options
context:
space:
mode:
authorMS <ms@taler.net>2020-09-11 18:24:30 +0200
committerMS <ms@taler.net>2020-09-11 18:24:30 +0200
commit04f8ca5ae515f2ee041fb5a9ae0f799758f100c2 (patch)
tree6687f7f15cd193d30fb5dffa9b468372aea3d88b /bin/taler_urls.py
parent0139a6c8efeb4d1056b9116c29a48715c4fdcbda (diff)
downloaddeployment-04f8ca5ae515f2ee041fb5a9ae0f799758f100c2.tar.gz
deployment-04f8ca5ae515f2ee041fb5a9ae0f799758f100c2.tar.bz2
deployment-04f8ca5ae515f2ee041fb5a9ae0f799758f100c2.zip
fix port extraction
Diffstat (limited to 'bin/taler_urls.py')
-rw-r--r--bin/taler_urls.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/taler_urls.py b/bin/taler_urls.py
index 6e20003..5f8aa00 100644
--- a/bin/taler_urls.py
+++ b/bin/taler_urls.py
@@ -38,4 +38,5 @@ def get_urls(envname):
def get_port(localhost_url):
parsed = urlparse(localhost_url)
- return parsed.port
+ assert(parsed.port)
+ return str(parsed.port)