Avatar Update

This commit is contained in:
Inga Kirschnick committed 2022-12-19 12:46:18 +01:00
1 parent 61a6ddd4be
commit d9699b9c6d
8 files changed
+131 -13

No files matched your search

-1
View File
@@ -54,7 +54,6 @@ def delete_avatar(avatar_id, user_id):
def _delete_avatar(app, avatar_id):
with app.app_context():
avatar_file = Avatar.query.get(avatar_id)
print(avatar_file)
avatar_file.delete()
db.session.commit()
thread = Thread(