mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 05:31:15 -07:00
Remove list(dict.keys()) --> dict.keys() and list(dict.values()) --> dict.values()
This commit is contained in:
parent
f4eff8a8c5
commit
e26182c96e
7 changed files with 15 additions and 15 deletions
|
@ -99,7 +99,7 @@ class DataTables(object):
|
|||
filtered = self.ssp_db.select(query, args=args)
|
||||
|
||||
# Remove NULL rows
|
||||
filtered = [row for row in filtered if not all(v is None for v in list(row.values()))]
|
||||
filtered = [row for row in filtered if not all(v is None for v in row.values())]
|
||||
|
||||
# Build grand totals
|
||||
totalcount = self.ssp_db.select('SELECT COUNT(id) as total_count from %s' % table_name)[0]['total_count']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue