mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-20 05:13:21 -07:00
Fix return value of get_recently_added_details when exception
This commit is contained in:
parent
0fe422b71d
commit
8d70c4b9da
2 changed files with 3 additions and 3 deletions
|
@ -513,7 +513,7 @@ class PmsConnect(object):
|
|||
xml_head = recent.getElementsByTagName('MediaContainer')
|
||||
except Exception as e:
|
||||
logger.warn("Tautulli Pmsconnect :: Unable to parse XML for get_recently_added: %s." % e)
|
||||
return []
|
||||
return {'recently_added': []}
|
||||
|
||||
for a in xml_head:
|
||||
if a.getAttribute('size'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue