summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/virtual/ogOperations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/virtual/ogOperations.py b/src/virtual/ogOperations.py
index e6aa506..ff9c937 100644
--- a/src/virtual/ogOperations.py
+++ b/src/virtual/ogOperations.py
@@ -170,7 +170,7 @@ class OgVirtualOperations:
'filesystem': '',
'os': '',
'size': int(free_disk / 1024),
- 'used_size': int(100 * used_disk / free_disk)},
+ 'used_size': int(100 * used_disk / total_disk)},
'partition_setup': []}
for i in range(4):
part_json = {'disk': 1,