Version 2.0 from testing branch #1

Merged
olesteep merged 105 commits from testing into master 2025-02-18 23:38:05 +03:00
Showing only changes of commit 6698db5fef - Show all commits

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"Result: {orig/1024/1024:.2}MB -> {comp/1024/1024:.2}MB Δ {(orig - comp)/1024/1024:.2}MB")
print(f"Result: {orig/1024/1024:.2f}MB -> {comp/1024/1024:.2f}MB Δ {(orig - comp)/1024/1024:.2f}MB")
except ZeroDivisionError:
printer.warning("Nothing compressed!")