Fix torrent download from telegram
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
This commit is contained in:
parent
cc90560657
commit
c9ede8bf16
|
|
@ -117,7 +117,7 @@ def _mirror(update, context, isTar=False):
|
||||||
message_args = update.message.text.split(' ')
|
message_args = update.message.text.split(' ')
|
||||||
try:
|
try:
|
||||||
link = message_args[1]
|
link = message_args[1]
|
||||||
except KeyError:
|
except IndexError:
|
||||||
link = ''
|
link = ''
|
||||||
LOGGER.info(link)
|
LOGGER.info(link)
|
||||||
link = link.strip()
|
link = link.strip()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue