Skip to content

Commit

Permalink
Fix download gdrive using jdownloader without token.pickle
Browse files Browse the repository at this point in the history
Signed-off-by: anasty17 <[email protected]>
  • Loading branch information
anasty17 committed Sep 8, 2024
1 parent 1d19018 commit d1a44a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/helper/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d1a44a1

Please sign in to comment.