mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 01:02:59 -07:00
Remove test code
This commit is contained in:
parent
ad183ff9fe
commit
d61e699dc9
1 changed files with 0 additions and 8 deletions
|
@ -1146,14 +1146,6 @@ class WebInterface(object):
|
||||||
|
|
||||||
pms_connect = pmsconnect.PmsConnect()
|
pms_connect = pmsconnect.PmsConnect()
|
||||||
result = pms_connect.get_server_children()
|
result = pms_connect.get_server_children()
|
||||||
|
|
||||||
if plexpy.CONFIG.HOME_LIBRARY_CARDS == '':
|
|
||||||
library_keys = ['library_statistics']
|
|
||||||
for library in result['libraries_list']:
|
|
||||||
library_keys.append(library['key'])
|
|
||||||
|
|
||||||
plexpy.CONFIG.HOME_LIBRARY_CARDS = ', '.join(library_keys)
|
|
||||||
plexpy.CONFIG.write()
|
|
||||||
|
|
||||||
if result:
|
if result:
|
||||||
cherrypy.response.headers['Content-type'] = 'application/json'
|
cherrypy.response.headers['Content-type'] = 'application/json'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue