mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-10 15:32:38 -07:00
Fix get_user when last_seen is null
This commit is contained in:
parent
1413733271
commit
52fad05feb
1 changed files with 1 additions and 1 deletions
|
@ -428,7 +428,7 @@ class Users(object):
|
|||
'allow_guest, shared_libraries, ' \
|
||||
'MAX(session_history.started) AS last_seen ' \
|
||||
'FROM users ' \
|
||||
'JOIN session_history ON users.user_id == session_history.user_id ' \
|
||||
'LEFT OUTER JOIN session_history ON users.user_id == session_history.user_id ' \
|
||||
'WHERE %s COLLATE NOCASE' % where
|
||||
result = monitor_db.select(query, args=args)
|
||||
except Exception as e:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue