mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-09 05:09:27 +01:00
LMS Error reporting fix?
Attempt to fix false LMS error reporting.
This commit is contained in:
committed by
Bas Stottelaar
parent
f83fc7fe4e
commit
d48a1bddde
@@ -290,7 +290,7 @@ class LMS(object):
|
||||
return response['result']
|
||||
except:
|
||||
logger.warn('LMS returned error: %s' % response['error'])
|
||||
return
|
||||
return response['error']
|
||||
|
||||
def update(self):
|
||||
|
||||
@@ -300,7 +300,7 @@ class LMS(object):
|
||||
logger.info('Sending library rescan command to LMS @ ' + host)
|
||||
request = self._sendjson(host)
|
||||
|
||||
if not request:
|
||||
if request:
|
||||
logger.warn('Error sending rescan request to LMS')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user