forked from rDrama/rDrama
1
0
Fork 0

convert KB values to int

master
Aevann 2023-03-07 07:19:47 +02:00
parent 272d76e6d1
commit 92ac8d1dcc
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ def process_image(filename:str, v, resize=0, trim=False, uploader_id:Optional[in
size_after_conversion = os.stat(filename).st_size
if size_after_conversion - size > 50000:
print(STARS, flush=True)
print(f'{filename}: {oldformat}@{size/1024}KB -> WEBP@{size_after_conversion/1024}KB', flush=True)
print(f'{filename}: {oldformat}@{int(size/1024)}KB -> WEBP@{int(size_after_conversion/1024)}KB', flush=True)
print(STARS, flush=True)
if resize: