From d1a44a17a45f87487ff7e7f54b87f3934a7732be Mon Sep 17 00:00:00 2001 From: anasty17 Date: Mon, 9 Sep 2024 02:11:03 +0300 Subject: [PATCH] Fix download gdrive using jdownloader without token.pickle Signed-off-by: anasty17 --- bot/helper/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/helper/common.py b/bot/helper/common.py index de36f9b6ba1..89803106890 100644 --- a/bot/helper/common.py +++ b/bot/helper/common.py @@ -177,7 +177,7 @@ async def before_start(self): else ["aria2", "!qB"] ) if self.link not in ["rcl", "gdl"]: - if is_rclone_path(self.link) or is_gdrive_link(self.link): + if not self.is_jd and is_rclone_path(self.link) or is_gdrive_link(self.link): await self.is_token_exists(self.link, "dl") elif self.link == "rcl": if not self.is_ytdlp and not self.is_jd: