1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-12-23 01:16:18 +00:00

Support UTF-8 passwords with old enc:

This commit is contained in:
Óscar García Amor 2017-08-07 14:32:08 +02:00
parent a5afece2d7
commit 5f011ed3e4

View File

@ -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