1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-11-10 04:02:17 +00:00

Fixed issue when delete an user

This commit is contained in:
Óscar García Amor 2017-07-10 16:03:46 +02:00
parent aa7939cbc7
commit 672cf0183c

View File

@ -136,7 +136,7 @@ def add_user():
@app.route('/user/del/<uid>')
def del_user(uid):
status = UserManager.delete(store, uid)
status = UserManager.delete(store, uuid.UUID(uid))
if status == UserManager.SUCCESS:
flash('Deleted user')
else: