mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
FIx yt-dl
This commit is contained in:
parent
2339ad5157
commit
4ae0651e13
1 changed files with 0 additions and 7 deletions
|
@ -983,13 +983,6 @@ class OtherCog(commands.Cog):
|
|||
)
|
||||
del logger
|
||||
files = []
|
||||
if upload_log:
|
||||
if out_size := stdout.stat().st_size:
|
||||
files.append(discord.File(stdout, "stdout.txt"))
|
||||
BYTES_REMAINING -= out_size
|
||||
if err_size := stderr.stat().st_size:
|
||||
files.append(discord.File(stderr, "stderr.txt"))
|
||||
BYTES_REMAINING -= err_size
|
||||
|
||||
for file in tempdir.glob(f"{ctx.user.id}-*"):
|
||||
if file.stat().st_size == 0:
|
||||
|
|
Loading…
Reference in a new issue