From 30d0e8641ec77c58a8ff03dd0cebe275f750ebe7 Mon Sep 17 00:00:00 2001 From: heru Date: Sat, 25 Nov 2017 18:12:29 +0100 Subject: [PATCH] Make sure password and username are always strings --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index b31e898..e30871e 100644 --- a/main.py +++ b/main.py @@ -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',