random fix sachen
This commit is contained in:
parent
7809ece073
commit
b6dabd2ad8
1 changed files with 3 additions and 3 deletions
6
main.py
6
main.py
|
@ -94,7 +94,7 @@ def get_addtag_request():
|
|||
except: #except im Normalen Code!
|
||||
return "Wrong user id!"
|
||||
session_id = uuid.uuid4()
|
||||
session[id] = str(session_id)
|
||||
session[id] = session_id
|
||||
users.put([user_id, "add", session_id])
|
||||
return render_template("addtag.html", user=user_id)
|
||||
|
||||
|
@ -133,8 +133,8 @@ def get_removetag_request():
|
|||
except: #except im Normalen Code!
|
||||
return "Wrong user id!"
|
||||
session_id = uuid.uuid4()
|
||||
session[id] = str(session_id)
|
||||
users.put([user_id, "remove"])
|
||||
session[id] = session_id
|
||||
users.put([user_id, "remove"], session_id)
|
||||
return render_template("removetag.html", user=user_id)
|
||||
|
||||
@socketio.on('removetag')
|
||||
|
|
Loading…
Reference in a new issue