mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
Fix
This commit is contained in:
parent
6325cf27ad
commit
cfadbd3a91
2 changed files with 4 additions and 4 deletions
|
|
@ -54,11 +54,11 @@ async def genss(client, m):
|
|||
|
||||
c_time = time.time()
|
||||
dl = await replied.download(
|
||||
file_name="/downloads",
|
||||
file_name="/downloads/",
|
||||
progress=progress_for_pyrogram,
|
||||
progress_args=("Trying to download, please wait..", process, c_time),
|
||||
)
|
||||
the_real_download_location = os.path.join("/downloads", os.path.basename(dl))
|
||||
the_real_download_location = os.path.join("/downloads/", os.path.basename(dl))
|
||||
if the_real_download_location is not None:
|
||||
try:
|
||||
await editPesan(process, f"File video berhasil didownload dengan path <code>{the_real_download_location}</code>.")
|
||||
|
|
|
|||
|
|
@ -34,11 +34,11 @@ async def mediainfo(client, message):
|
|||
|
||||
c_time = time.time()
|
||||
dl = await message.reply_to_message.download(
|
||||
file_name="/downloads",
|
||||
file_name="/downloads/",
|
||||
progress=progress_for_pyrogram,
|
||||
progress_args=("Trying to download..", process, c_time),
|
||||
)
|
||||
file_path = path.join("/downloads", path.basename(dl))
|
||||
file_path = path.join("/downloads/", path.basename(dl))
|
||||
output_ = await runcmd(f'mediainfo "{file_path}"')
|
||||
out = output_[0] if len(output_) != 0 else None
|
||||
body_text = f"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue