~comcloudway/builds.sr.ht

56c93dc72ae56f19dab8f11b9238081b630dc39f — Dhruvin Gandhi 2 years ago 4977405
submit_GET: accept note via query params
1 files changed, 4 insertions(+), 1 deletions(-)

M buildsrht/blueprints/jobs.py
M buildsrht/blueprints/jobs.py => buildsrht/blueprints/jobs.py +4 -1
@@ 173,7 173,10 @@ def submit_GET():
        manifest = request.args.get("manifest")
    else:
        manifest = session.pop("manifest", default=None)
    note = session.pop("note", default=None)
    if request.args.get("note"):
        note = request.args.get("note")
    else:
        note = session.pop("note", default=None)
    note_rows = len(note.splitlines()) if isinstance(note, str) else 1
    status = 200
    payment_required = requires_payment(current_user)