From 4cc6f98273f946b3b67b4e9f8f0ce6ea0b560982 Mon Sep 17 00:00:00 2001 From: "Thomas (Tom) C. Gorordo" Date: Fri, 22 May 2026 03:51:59 -0700 Subject: [PATCH] fix form response backlinks --- src/cgi/script.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/cgi/script.py b/src/cgi/script.py index eed93f1..23b4289 100644 --- a/src/cgi/script.py +++ b/src/cgi/script.py @@ -59,7 +59,7 @@ if spreadsheet is not None: message = """

Error

File extension is not valid. Use CSV (.csv) or Excel (.xlsx, .xls).

-

Go Back

+

Go Back

""" if df is not None: @@ -80,13 +80,13 @@ if spreadsheet is not None: message = f"""

The Smith set winners are:

{smiths} -

Go Back

+

Go Back

""" else: message = """

Error

DataFrame was empty.

-

Go Back

+

Go Back

""" @@ -94,7 +94,7 @@ if spreadsheet is not None: message = f"""

Error

Internal Error Encountered: {e} -

Go Back

+

Go Back

""" traceback.print_exc() @@ -102,14 +102,14 @@ if spreadsheet is not None: message = """

Error

Filename or File Data not found/valid in form submission.

-

Go Back

+

Go Back

""" else: message = """

Error

No file field found in the form.

-

Go Back

+

Go Back

""" print("""