diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2009-04-26 23:26:29 +0200 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2009-04-26 23:26:29 +0200 |
| commit | b48a6df5d1bb24e9e4b67b31ffe70c54846a9440 (patch) | |
| tree | 00f44db9ba5486f9462bde7abec359503037f11b /lib/python/Components | |
| parent | d7064bb00478335a056ffe24d7d58eaa1a26a143 (diff) | |
| download | enigma2-b48a6df5d1bb24e9e4b67b31ffe70c54846a9440.tar.gz enigma2-b48a6df5d1bb24e9e4b67b31ffe70c54846a9440.zip | |
Patch by pieterg: use SI units to display size of HDD (makes HDD 3% cheaper -> more money for us)
Diffstat (limited to 'lib/python/Components')
| -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": |
