Revert
This commit is contained in:
parent
4f2aa07a95
commit
c263056c26
|
|
@ -274,10 +274,6 @@ def _mirror(bot, update, isTar=False, extract=False):
|
||||||
file = i
|
file = i
|
||||||
break
|
break
|
||||||
|
|
||||||
reply_text = reply_to.text.split('\n')[0]
|
|
||||||
if bot_utils.is_magnet(reply_text):
|
|
||||||
link = reply_text
|
|
||||||
|
|
||||||
if not bot_utils.is_url(link) and not bot_utils.is_magnet(link) or len(link) == 0:
|
if not bot_utils.is_url(link) and not bot_utils.is_magnet(link) or len(link) == 0:
|
||||||
if file is not None:
|
if file is not None:
|
||||||
if file.mime_type != "application/x-bittorrent":
|
if file.mime_type != "application/x-bittorrent":
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue