convert torrent_ids back into a list in case we need to remove from it
This commit is contained in:
parent
543fcf722c
commit
956ea10a00
|
@ -136,7 +136,7 @@ class FilterManager(component.Component):
|
||||||
|
|
||||||
|
|
||||||
if "id"in filter_dict: #optimized filter for id:
|
if "id"in filter_dict: #optimized filter for id:
|
||||||
torrent_ids = filter_dict["id"]
|
torrent_ids = list(filter_dict["id"])
|
||||||
del filter_dict["id"]
|
del filter_dict["id"]
|
||||||
else:
|
else:
|
||||||
torrent_ids = self.torrents.get_torrent_list()
|
torrent_ids = self.torrents.get_torrent_list()
|
||||||
|
|
Loading…
Reference in New Issue