Fix get_synced_items API command returning error with empty result
* Fixes Tautulli/Tautulli-Issues#267
This commit is contained in:
@@ -5757,6 +5757,7 @@ class WebInterface(object):
|
|||||||
return result
|
return result
|
||||||
else:
|
else:
|
||||||
logger.warn("Unable to retrieve data for get_synced_items.")
|
logger.warn("Unable to retrieve data for get_synced_items.")
|
||||||
|
return result
|
||||||
|
|
||||||
@cherrypy.expose
|
@cherrypy.expose
|
||||||
@cherrypy.tools.json_out()
|
@cherrypy.tools.json_out()
|
||||||
|
|||||||
Reference in New Issue
Block a user