mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-07 20:34:52 +00:00
indent
This commit is contained in:
parent
f6185729a3
commit
2631e22815
1 changed files with 3 additions and 3 deletions
|
|
@ -114,9 +114,9 @@ async def convertsrt(c, m):
|
||||||
msg = await m.reply("⏳ Converting...")
|
msg = await m.reply("⏳ Converting...")
|
||||||
dl = await reply.download()
|
dl = await reply.download()
|
||||||
filename = dl.split("/", 3)[3]
|
filename = dl.split("/", 3)[3]
|
||||||
LOGGER.info(
|
LOGGER.info(
|
||||||
f"ConvertSub: {filename} by {m.from_user.first_name} [{m.from_user.id}]"
|
f"ConvertSub: {filename} by {m.from_user.first_name} [{m.from_user.id}]"
|
||||||
)
|
)
|
||||||
(await shell_exec(f"mediaextract -i '{dl}' {filename}.srt"))[0]
|
(await shell_exec(f"mediaextract -i '{dl}' {filename}.srt"))[0]
|
||||||
await m.reply_document(
|
await m.reply_document(
|
||||||
f"{filename}.srt", caption=f"{filename}.srt\n\nConverted by @{c.me.username}"
|
f"{filename}.srt", caption=f"{filename}.srt\n\nConverted by @{c.me.username}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue