git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix inverted setting (meaning was inverted too)
[enigma2.git]
/
lib
/
python
/
Components
/
DiskInfo.py
diff --git
a/lib/python/Components/DiskInfo.py
b/lib/python/Components/DiskInfo.py
index 68674e9906bc9a4510f6f6fced3497b0bfbe65b9..9490a0f818789740bcf99ea53328530ca791d2fd 100644
(file)
--- a/
lib/python/Components/DiskInfo.py
+++ b/
lib/python/Components/DiskInfo.py
@@
-11,12
+11,13
@@
class DiskInfo(GUIComponent, VariableText):
USED = 1
SIZE = 2
USED = 1
SIZE = 2
- def __init__(self, path, type):
+ def __init__(self, path, type
, update = True
):
GUIComponent.__init__(self)
VariableText.__init__(self)
self.type = type
self.path = path
GUIComponent.__init__(self)
VariableText.__init__(self)
self.type = type
self.path = path
- self.update()
+ if update:
+ self.update()
def update(self):
try:
def update(self):
try: