From 5f011ed3e476e313f971d0890b1cc975d3bd5260 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20Garc=C3=ADa=20Amor?= Date: Mon, 7 Aug 2017 14:32:08 +0200 Subject: [PATCH] Support UTF-8 passwords with old enc: --- supysonic/managers/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supysonic/managers/user.py b/supysonic/managers/user.py index 27c8adb..1840520 100644 --- a/supysonic/managers/user.py +++ b/supysonic/managers/user.py @@ -151,6 +151,6 @@ class UserManager: return password try: - return binascii.unhexlify(password[4:]) + return binascii.unhexlify(password[4:]).decode('utf-8') except: return password