From b4c8978f5da432f2d5a81b21c8cd535936490e52 Mon Sep 17 00:00:00 2001 From: trinkey <97406176+trinkey@users.noreply.github.com> Date: Fri, 22 Mar 2024 22:07:28 -0400 Subject: [PATCH] make case in /u/... not matter --- _server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/_server.py b/_server.py index ec74860..b8d8dba 100644 --- a/_server.py +++ b/_server.py @@ -153,6 +153,7 @@ def get_template(json, username): return title, inner, styles, embed def get_user_page(user): + user = user.lower() x = open(f"{CONTENT_DIRECTORY}user.html", "r").read() try: user_json = json.loads(open(f"{SAVING_DIRECTORY}{user}.json", "r").read())