Skip to content

Commit 68d651e

Browse files
authored
Update gdrive.py
1 parent 02f1bb3 commit 68d651e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

plugins/gdrive.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
from . import *
3636

3737
TOKEN_FILE = "resources/downloads/auth_token.txt"
38-
TEMP_DOWNLOAD_DIRECTORY = "resources/downloads/"
3938

4039

4140
@asst_cmd("auth")
@@ -95,7 +94,7 @@ async def _(event):
9594
try:
9695
downloaded_file_name = await event.client.download_media(
9796
reply_message,
98-
TEMP_DOWNLOAD_DIRECTORY,
97+
"resources/downloads",
9998
progress_callback=lambda d, t: asyncio.get_event_loop().create_task(
10099
progress(
101100
d,

0 commit comments

Comments
 (0)