diff options
Diffstat (limited to 'lib/python')
| -rwxr-xr-x | lib/python/Components/Harddisk.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/Components/Harddisk.py b/lib/python/Components/Harddisk.py index c34511db..6148caac 100755 --- a/lib/python/Components/Harddisk.py +++ b/lib/python/Components/Harddisk.py @@ -70,7 +70,7 @@ class Harddisk: cap = self.diskSize() if cap == 0: return "" - return "%d.%03d GB" % (cap/1024, cap%1024) + return "%d.%03d GB" % (cap/1000, cap%1000) def model(self): if self.device[:2] == "hd": |
