diff --git a/bot/modules/mirror_leech.py b/bot/modules/mirror_leech.py index 316b2dd89..72f28fa79 100644 --- a/bot/modules/mirror_leech.py +++ b/bot/modules/mirror_leech.py @@ -292,10 +292,10 @@ async def new_event(self): self.link = await reply_to.download() file_ = None - if (self.link and - (is_magnet(self.link) - or self.link.endswith(".torrent"))) - or (file_ and file_.file_name.endswith(".torrent")): + if ( + (self.link and (is_magnet(self.link) or self.link.endswith(".torrent"))) + or (file_ and file_.file_name.endswith(".torrent")) + ): self.is_qbit = True if (