mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 05:31:15 -07:00
Fix empty recently added error message
This commit is contained in:
parent
a2c589fca4
commit
ebbd66d056
1 changed files with 1 additions and 1 deletions
|
@ -424,7 +424,7 @@ class WebInterface(object):
|
|||
except IOError as e:
|
||||
return serve_template(templatename="recently_added.html", data=None)
|
||||
|
||||
if result and result['recently_added']:
|
||||
if result and 'recently_added' in result:
|
||||
return serve_template(templatename="recently_added.html", data=result['recently_added'])
|
||||
else:
|
||||
logger.warn("Unable to retrieve data for get_recently_added.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue