From ef232df8123411ea5ad534b1b822796e707b40fe Mon Sep 17 00:00:00 2001 From: Brandon Date: Sat, 4 Nov 2023 19:25:33 -0700 Subject: [PATCH] Fix typos and formatting --- website/app.py | 3 --- website/templates/base.html | 9 +-------- website/templates/lottery.html | 2 +- website/templates/players.html | 2 ++ 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/website/app.py b/website/app.py index b6c0b0b..09eb2ae 100644 --- a/website/app.py +++ b/website/app.py @@ -137,9 +137,6 @@ def update_lottery(): draw_date = request.form["draw_date"] return "OK", 200 - #BUG something throws a typeError. Could it be this? Should it be: return "OK", 200"? - - except Exception as e: logging.error(f"Internal error on update_lottery: {e}") return "Internal error on update_lottery", 500 diff --git a/website/templates/base.html b/website/templates/base.html index 0762cae..f4ee80e 100644 --- a/website/templates/base.html +++ b/website/templates/base.html @@ -22,19 +22,13 @@