mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-19 21:03:21 -07:00
Fix total plays graph
* arrow.timestamp() function instead of attribute
This commit is contained in:
parent
2916749360
commit
5fd17040be
1 changed files with 1 additions and 1 deletions
|
@ -425,7 +425,7 @@ class Graphs(object):
|
|||
monitor_db = database.MonitorDatabase()
|
||||
|
||||
time_range = helpers.cast_to_int(time_range) or 12
|
||||
timestamp = arrow.get(helpers.timestamp()).shift(months=-time_range).floor('month').timestamp
|
||||
timestamp = arrow.get(helpers.timestamp()).shift(months=-time_range).floor('month').timestamp()
|
||||
|
||||
user_cond = ''
|
||||
if session.get_session_user_id() and user_id and user_id != str(session.get_session_user_id()):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue