diff --git a/main.py b/main.py index d9f6329..d47561f 100644 --- a/main.py +++ b/main.py @@ -8,6 +8,7 @@ import atexit import sys import uuid import json +import urllib.parse db_path = 'mate.db' conn = sqlite3.connect(db_path, check_same_thread=False) @@ -42,7 +43,8 @@ def list(): users = c.fetchall() text = "" for i in users: - text = text + f'
{i[1]}: {i[2]}
{i[1]}: {i[2]}
The creator of this website accepts no liability for any linguistic or technical errors!
' + return 'Added user user and tag list' else: return 'Error: 170
user and tag list' diff --git a/templates/documentation.html b/templates/documentation.html index 1c2d163..fe7840d 100644 --- a/templates/documentation.html +++ b/templates/documentation.html @@ -14,6 +14,7 @@
Nobody wants to know how the API works
170: Tag already exists
054: Tag does not exists