mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-10 23:42:37 -07:00
Add helper function for timestamp
This commit is contained in:
parent
c6cf293b12
commit
f72d93216c
10 changed files with 37 additions and 29 deletions
|
@ -825,7 +825,7 @@ class Users(object):
|
|||
if user_id is None or str(user_id).isdigit():
|
||||
monitor_db = database.MonitorDatabase()
|
||||
|
||||
keys = {'timestamp': int(time.time()),
|
||||
keys = {'timestamp': helpers.timestamp(),
|
||||
'user_id': user_id}
|
||||
|
||||
values = {'user': user,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue