mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 17:22:56 -07:00
Make sure query days is a string before splitting
This commit is contained in:
parent
5cc510616f
commit
e4bf0fb1c1
2 changed files with 2 additions and 2 deletions
|
@ -878,7 +878,7 @@ class Libraries(object):
|
|||
grouping = plexpy.CONFIG.GROUP_HISTORY_TABLES
|
||||
|
||||
if query_days and query_days is not None:
|
||||
query_days = map(helpers.cast_to_int, query_days.split(','))
|
||||
query_days = map(helpers.cast_to_int, str(query_days).split(','))
|
||||
else:
|
||||
query_days = [1, 7, 30, 0]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue