FFMpeg-Compressor: Edit result message

This commit is contained in:
OleSTEEP 2024-07-19 02:36:00 +03:00
parent dff5bd12f1
commit 31e82b59b3

View file

@ -25,7 +25,7 @@ def get_compression(orig, comp):
orig = get_dir_size(orig, processed_files)
comp = get_dir_size(comp, processed_files)
print(f"\nResult: {orig/1024/1024:.2f}MB -> {comp/1024/1024:.2f}MB Δ {(orig - comp)/1024/1024:.2f}MB")
print(f"\nResult: {orig/1024/1024:.2f}MB -> {comp/1024/1024:.2f}MB ({(comp - orig)/1024/1024:.2f}MB)")
except ZeroDivisionError:
printer.warning("Nothing compressed!")