mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 04:24:27 +00:00
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…
x
Reference in New Issue
Block a user