summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README5
-rw-r--r--app.py2
2 files changed, 6 insertions, 1 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..41a55d4
--- /dev/null
+++ b/README
@@ -0,0 +1,5 @@
+Dependencies:
+* libjs-bootstrap
+* libjs-jquery
+* python3-flask
+* python3-launchpadlib
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