mirror of
https://github.com/NohamR/TransmissionBot.git
synced 2025-05-24 00:48:59 +00:00
bugfix
error when searching by id list
This commit is contained in:
parent
580d26df6e
commit
9bd0a46103
1
bot.py
1
bot.py
@ -1772,6 +1772,7 @@ async def repeat_command(command, message, content="", msg_list=[]):
|
|||||||
|
|
||||||
def get_torrent_list_from_command_str(command_str=""):
|
def get_torrent_list_from_command_str(command_str=""):
|
||||||
id_list = strListToList(command_str)
|
id_list = strListToList(command_str)
|
||||||
|
filter_by, sort_by, filter_regex, tracker_regex, num_results = None, None, None, None, None
|
||||||
if not id_list:
|
if not id_list:
|
||||||
filter_by, sort_by, filter_regex, tracker_regex, num_results = torGetListOpsFromStr(command_str)
|
filter_by, sort_by, filter_regex, tracker_regex, num_results = torGetListOpsFromStr(command_str)
|
||||||
if filter_by is not None and filter_by == -1:
|
if filter_by is not None and filter_by == -1:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user