Fix torrent download from telegram

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
This commit is contained in:
lzzy12 2019-10-12 23:39:24 +05:30
parent cc90560657
commit c9ede8bf16

View File

@ -117,7 +117,7 @@ def _mirror(update, context, isTar=False):
message_args = update.message.text.split(' ')
try:
link = message_args[1]
except KeyError:
except IndexError:
link = ''
LOGGER.info(link)
link = link.strip()