make case in /u/... not matter
This commit is contained in:
parent
c2ab57166a
commit
b4c8978f5d
1 changed files with 1 additions and 0 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue