From 9ff7567cde2516ba6e714922c93c9e62beca9744 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Thu, 18 Jan 2024 18:14:02 +0000 Subject: [PATCH] Fix 10x bug in admin storage page --- app/blueprints/admin/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/blueprints/admin/admin.py b/app/blueprints/admin/admin.py index 6b81b949..e2c50016 100644 --- a/app/blueprints/admin/admin.py +++ b/app/blueprints/admin/admin.py @@ -200,7 +200,7 @@ def storage(): latest_release = package.releases.first() size_latest = latest_release.file_size_bytes if latest_release else 0 size_total = size_releases + size_screenshots - if size_total > min_size*10024*1024: + if size_total > min_size*1024*1024: data.append([package, size_total, size_releases, size_screenshots, size_latest]) data.sort(key=lambda x: x[1], reverse=True)