~comcloudway/builds.sr.ht

bd2e3d7717c030f527c9ecc5bc26762343ffee11 — Drew DeVault 3 years ago d3322ff
jobs.submit_GET: use default session values

This fixes a regression in the normal submit route introduced by the
resubmission note patch.
1 files changed, 2 insertions(+), 2 deletions(-)

M buildsrht/blueprints/jobs.py
M buildsrht/blueprints/jobs.py => buildsrht/blueprints/jobs.py +2 -2
@@ 169,8 169,8 @@ def index():
@jobs.route("/submit")
@loginrequired
def submit_GET():
    manifest = session.pop("manifest")
    note = session.pop("note")
    manifest = session.pop("manifest", default=None)
    note = session.pop("note", default=None)
    status = 200
    payment_required = requires_payment(current_user)
    if payment_required: