mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -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
|
@ -111,7 +111,7 @@ class MonitorDatabase(object):
|
|||
|
||||
def select_single(self, query, args=None):
|
||||
|
||||
sql_results = self.action(query, args).fetchone()[0]
|
||||
sql_results = self.action(query, args).fetchone()
|
||||
|
||||
if sql_results is None or sql_results == "":
|
||||
return ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue