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
|
return title, inner, styles, embed
|
||||||
|
|
||||||
def get_user_page(user):
|
def get_user_page(user):
|
||||||
|
user = user.lower()
|
||||||
x = open(f"{CONTENT_DIRECTORY}user.html", "r").read()
|
x = open(f"{CONTENT_DIRECTORY}user.html", "r").read()
|
||||||
try:
|
try:
|
||||||
user_json = json.loads(open(f"{SAVING_DIRECTORY}{user}.json", "r").read())
|
user_json = json.loads(open(f"{SAVING_DIRECTORY}{user}.json", "r").read())
|
||||||
|
|
Loading…
Reference in a new issue