mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-10 23:42:37 -07:00
Fix regression on select_single queries.
This commit is contained in:
parent
1fb7473dc5
commit
b9c95d49a6
3 changed files with 4 additions and 4 deletions
|
@ -319,7 +319,7 @@ class Users(object):
|
|||
query = 'select user_id FROM users WHERE username = ?'
|
||||
result = monitor_db.select_single(query, args=[user])
|
||||
if result:
|
||||
return result
|
||||
return result['user_id']
|
||||
else:
|
||||
return None
|
||||
except:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue