webapp.py: fix schedule response
authorHelmut Grohne <helmut@subdivi.de>
Thu, 8 Oct 2020 14:45:45 +0000 (16:45 +0200)
committerHelmut Grohne <helmut@subdivi.de>
Thu, 8 Oct 2020 14:45:45 +0000 (16:45 +0200)
Fixes: a52d12012b1b ("webapp: add concept of "build architecture" to frontend")

webapp.py

index ee7cce6..794af29 100644 (file)
--- 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>