Skip to content

Commit

Permalink
Update gdrive.py
Browse files Browse the repository at this point in the history
  • Loading branch information
buddhhu authored Mar 4, 2021
1 parent 02f1bb3 commit 68d651e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/gdrive.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
from . import *

TOKEN_FILE = "resources/downloads/auth_token.txt"
TEMP_DOWNLOAD_DIRECTORY = "resources/downloads/"


@asst_cmd("auth")
Expand Down Expand Up @@ -95,7 +94,7 @@ async def _(event):
try:
downloaded_file_name = await event.client.download_media(
reply_message,
TEMP_DOWNLOAD_DIRECTORY,
"resources/downloads",
progress_callback=lambda d, t: asyncio.get_event_loop().create_task(
progress(
d,
Expand Down

0 comments on commit 68d651e

Please sign in to comment.