diff --git a/openatlas/views/admin.py b/openatlas/views/admin.py index ee1260be1..25970bc0d 100644 --- a/openatlas/views/admin.py +++ b/openatlas/views/admin.py @@ -779,6 +779,14 @@ def get_disk_space_info() -> Optional[dict[str, Any]]: percent_free = 100 - math.ceil(stats.free / (stats.total / 100)) percent_files = math.ceil(files_size / (stats.total / 100)) other_files = stats.total - stats.free - files_size + print({ + 'total': convert_size(stats.total), + 'project': convert_size(files_size), + 'other_files': convert_size(other_files), + 'free': convert_size(stats.free), + 'percent_used': percent_free, + 'percent_project': percent_files, + 'percent_other': 100 - (percent_files + percent_free)}) return { 'total': convert_size(stats.total), 'project': convert_size(files_size),