summaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2024-01-09 12:16:49 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2024-01-09 12:16:49 +0100
commitc697d354a9e8fba08caed6c9dfb183f56c2539e5 (patch)
tree1c6e5f02add1fb1a647503e95fbaf91da8ce2b19 /app.py
parent9f912f202317db9040ccded36b0795f6cedd9124 (diff)
Update URL to show PPA results
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'app.py')
-rw-r--r--app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.py b/app.py
index 6585f47..748210b 100644
--- a/app.py
+++ b/app.py
@@ -69,7 +69,7 @@ def index_package(LPUSER, PPA, PACKAGE):
@app.route("/<LPUSER>/<PPA>/<PACKAGE>/<RELEASE>")
def index_release(LPUSER, PPA, PACKAGE, RELEASE):
- autopkgtest_url_base = f"https://autopkgtest.ubuntu.com/results/autopkgtest-{RELEASE}-{LPUSER}-{PPA}"
+ autopkgtest_url_base = f"https://autopkgtest.ubuntu.com/results/autopkgtest-{RELEASE}-{LPUSER}-{PPA}/"
try:
data = json.loads(urlopen(f"{autopkgtest_url_base}?format=json").read())
except urllib.error.HTTPError: