From f04984cf629ede6fcc9efa3cedace2f7582d0357 Mon Sep 17 00:00:00 2001 From: tmpz23 <28760271+tmpz23@users.noreply.github.com> Date: Sun, 30 Jan 2022 11:24:12 +0100 Subject: [PATCH] Update gcmtest.py --- gcmtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcmtest.py b/gcmtest.py index ce20bdd..28f4949 100644 --- a/gcmtest.py +++ b/gcmtest.py @@ -28,7 +28,7 @@ repack_path = Path("repack") def test_storage(): total, used, free = shutil.disk_usage("/") - if free - 10**12 < 3 * sum(path.stat().st_size for path in roms_path.glob('*') if path.is_file()): + if free - 10**10 < 3 * sum(path.stat().st_size for path in roms_path.glob('*') if path.is_file()): raise Exception("Error - Not enought free space on the disk to run tests.")