Minor fix in config

This commit is contained in:
Io Ii 2018-08-26 09:13:23 +02:00
parent 10c40b1575
commit 7bfb7e12e7

View file

@ -49,10 +49,10 @@ class SubsonicUpdate(BeetsPlugin):
self.register_listener('import', self.loaded)
def loaded(self):
host = config['host'].as_str()
port = config['port'].as_str()
user = config['user'].as_str()
passw = config['pass'].as_str()
host = config['subsonic']['host'].as_str()
port = config['subsonic']['port'].as_str()
user = config['subsonic']['user'].as_str()
passw = config['subsonic']['pass'].as_str()
# To avoid sending plaintext passwords, authentication will be
# performed via username, a token, and a 6 random