typo fixed
This commit is contained in:
parent
c047351723
commit
eaafad5aa4
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -44,7 +44,7 @@ def user_info():
|
||||||
user = c.fetchall()
|
user = c.fetchall()
|
||||||
if user != []:
|
if user != []:
|
||||||
user = user[0]
|
user = user[0]
|
||||||
return f'<p>{user[1]}: {user[2]} <p><form action="/addtag" method="get"><input name="id" type="hidden" value="{user[0]}"><button type="submit">Add Tag</button></form><form action="/removetags" method="get"><input name="id" type="hidden" value="{user[0]}"><button type="submit">Remove Tag</button></form></p><form action="/change" method="get"><input name="id" type="hidden" value="{user[0]}"> Change balance: <input name="change"><input type="submit"></form></p>'
|
return f'<p>{user[1]}: {user[2]} <p><form action="/addtag" method="get"><input name="id" type="hidden" value="{user[0]}"><button type="submit">Add Tag</button></form><form action="/removetag" method="get"><input name="id" type="hidden" value="{user[0]}"><button type="submit">Remove Tag</button></form></p><form action="/change" method="get"><input name="id" type="hidden" value="{user[0]}"> Change balance: <input name="change"><input type="submit"></form></p>'
|
||||||
else:
|
else:
|
||||||
return "User does not exists"
|
return "User does not exists"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue