mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 17:22:56 -07:00
Fix deleting database rows with Python3 list(map())
This commit is contained in:
parent
94f929743c
commit
0ed4b69b8f
3 changed files with 3 additions and 3 deletions
|
@ -1044,7 +1044,7 @@ class Libraries(object):
|
|||
monitor_db = database.MonitorDatabase()
|
||||
|
||||
if row_ids and row_ids is not None:
|
||||
row_ids = map(helpers.cast_to_int, row_ids.split(','))
|
||||
row_ids = list(map(helpers.cast_to_int, row_ids.split(',')))
|
||||
|
||||
# Get the user_ids corresponding to the row_ids
|
||||
result = monitor_db.select('SELECT server_id, section_id FROM library_sections '
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue