Make sure password and username are always strings

This commit is contained in:
heru 2017-11-25 18:12:29 +01:00
parent b18b8e0094
commit 30d0e8641e
1 changed files with 2 additions and 2 deletions

View File

@ -51,8 +51,8 @@ def get_connection():
try:
connection = libsonic_extra.SubsonicClient(
Addon().get_setting('subsonic_url'),
Addon().get_setting('username'),
Addon().get_setting('password'),
Addon().get_setting('username', convert=False),
Addon().get_setting('password', convert=False),
Addon().get_setting('apiversion'),
Addon().get_setting('insecure') == 'true',
Addon().get_setting('legacyauth') == 'true',