Skip to content

Commit

Permalink
perf: use aiohttp for asynchronous data fetching ()
Browse files Browse the repository at this point in the history
  • Loading branch information
Itz-fork committed Dec 26, 2023
1 parent be5f344 commit 2e68313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion megadl/modules/mega_dl.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ async def dl_from_cb(client: MeganzClient, query: CallbackQuery):
@MeganzClient.handle_checks
async def info_from_cb(_: MeganzClient, query: CallbackQuery):
url = GLOB_TMP.pop(int(query.data.split("-")[1]))[0]
size, name = MegaTools.file_info(url)
size, name = await MegaTools.file_info(url)
await query.edit_message_text(
f"""
》 **File Details**
Expand Down

0 comments on commit 2e68313

Please sign in to comment.