From 672cf0183c237cea1f67378aab689655ff33fe69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20Garc=C3=ADa=20Amor?= Date: Mon, 10 Jul 2017 16:03:46 +0200 Subject: [PATCH] Fixed issue when delete an user --- supysonic/frontend/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supysonic/frontend/user.py b/supysonic/frontend/user.py index 6c112b6..0f3da81 100644 --- a/supysonic/frontend/user.py +++ b/supysonic/frontend/user.py @@ -136,7 +136,7 @@ def add_user(): @app.route('/user/del/') def del_user(uid): - status = UserManager.delete(store, uid) + status = UserManager.delete(store, uuid.UUID(uid)) if status == UserManager.SUCCESS: flash('Deleted user') else: