Fix ffmeta
This commit is contained in:
parent
516509e48f
commit
e684c4d44a
1 changed files with 2 additions and 1 deletions
|
@ -27,9 +27,10 @@ class FFMeta(commands.Cog):
|
||||||
url,
|
url,
|
||||||
stdout=asyncio.subprocess.PIPE,
|
stdout=asyncio.subprocess.PIPE,
|
||||||
stderr=asyncio.subprocess.PIPE,
|
stderr=asyncio.subprocess.PIPE,
|
||||||
text=True
|
|
||||||
)
|
)
|
||||||
stdout, stderr = await process.communicate()
|
stdout, stderr = await process.communicate()
|
||||||
|
stdout = stdout.decode("utf-8", "replace")
|
||||||
|
stderr = stderr.decode("utf-8", "replace")
|
||||||
|
|
||||||
paginator = commands.Paginator(prefix="```", suffix="```")
|
paginator = commands.Paginator(prefix="```", suffix="```")
|
||||||
for line in stdout:
|
for line in stdout:
|
||||||
|
|
Loading…
Reference in a new issue