summaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2024-01-09 12:24:18 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2024-01-09 12:24:18 +0100
commit5257c82e926805765dcee706bbb87b9a155e3c59 (patch)
treec14b0c08bc0ea67250fee6527ff5c7fca951c696 /app.py
parentc697d354a9e8fba08caed6c9dfb183f56c2539e5 (diff)
Add README with dependencies
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 748210b..d797758 100644
--- a/app.py
+++ b/app.py
@@ -115,7 +115,7 @@ def human_sec(secs: int) -> str:
@app.route("/<LPUSER>/<PPA>/<PACKAGE>/<RELEASE>/<ARCH>")
def index_results(LPUSER, PPA, PACKAGE, RELEASE, ARCH):
- 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}/"
data = json.loads(urlopen(f"{autopkgtest_url_base}?format=json").read())
# Use the prefix as index