summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2020-10-08 16:45:45 +0200
committerHelmut Grohne <helmut@subdivi.de>2020-10-08 16:45:45 +0200
commitbab219106d1b6761b4869ba60743e0c32ab7bf8c (patch)
treee6b04a8a282ace2a3f44fff2e59ed9ee6f4835d4
parent25ecc4e47f54105c35f7ec67c001658418e1241d (diff)
downloadcrossqa-bab219106d1b6761b4869ba60743e0c32ab7bf8c.tar.gz
webapp.py: fix schedule response
Fixes: a52d12012b1b ("webapp: add concept of "build architecture" to frontend")
-rw-r--r--webapp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp.py b/webapp.py
index ee7cce6..794af29 100644
--- a/webapp.py
+++ b/webapp.py
@@ -278,8 +278,8 @@ schedule_template = """<!DOCTYPE html>
<html>
<body>
<p>Scheduled a build of {{ request.form["source"]|e }}
- {%- if request.form["architecture"] != "any" %}
- for {{ request.form["architecture"]|e -}}
+ {%- if request.form["archpair"] != "any_any" %}
+ for {{ request.form["archpair"]|archpair_format -}}
{%- endif %}.
<p>
</body>