Update notifiers.py

This commit is contained in:
NovaXeros
2014-04-16 20:06:19 +01:00
parent e00411f7ad
commit 0234f4dab9

View File

@@ -247,7 +247,7 @@ class LMS:
self.hosts = headphones.LMS_HOST
def _sendjson(self, host):
data = {'id': 1, 'method': 'slim.request', 'params': ["",["rescan"]]}
data = {'id': 1, 'method': 'slim.request', 'params': ["",["rescan"]]}
data = simplejson.JSONEncoder().encode(data)
content = {'Content-Type': 'application/json'}