git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
explicit support for 2nd frontpanel led, allow customizable on/off patterns
[enigma2.git]
/
lib
/
python
/
Components
/
Harddisk.py
diff --git
a/lib/python/Components/Harddisk.py
b/lib/python/Components/Harddisk.py
index c34511db7f6771efb6e6148fd67c48f37d62f0c8..6148caac93e9146d3ad2c68da633ea9b8f6e7961 100755
(executable)
--- 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/10
24, cap%1024
)
+ return "%d.%03d GB" % (cap/10
00, cap%1000
)
def model(self):
if self.device[:2] == "hd":