mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
FIx finish
This commit is contained in:
parent
d7d6462d6d
commit
b82fef4afc
1 changed files with 0 additions and 4 deletions
|
@ -1301,10 +1301,6 @@ class OtherCog(commands.Cog):
|
|||
else:
|
||||
file = target
|
||||
st = file.stat().st_size
|
||||
if st / 1024 / 1024 <= MAX_SIZE_MB and st < BYTES_REMAINING:
|
||||
files.append(discord.File(file, file.name))
|
||||
BYTES_REMAINING -= st
|
||||
continue
|
||||
if st / 1024 / 1024 >= MAX_SIZE_MB or st >= BYTES_REMAINING:
|
||||
units = ["B", "KB", "MB", "GB", "TB"]
|
||||
st_r = st
|
||||
|
|
Loading…
Reference in a new issue