Fix music visible on graph only if "Log music" is enabled

This commit is contained in:
Jonathan Wong 2015-09-14 20:59:04 -07:00
commit 048b31c87a
2 changed files with 14 additions and 1 deletions

View file

@ -144,7 +144,12 @@ class WebInterface(object):
@cherrypy.expose
def graphs(self):
return serve_template(templatename="graphs.html", title="Graphs")
config = {
"music_logging_enable": plexpy.CONFIG.MUSIC_LOGGING_ENABLE
}
return serve_template(templatename="graphs.html", title="Graphs", config=config)
@cherrypy.expose
def sync(self):