git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
instantiate HarddiskManager forever
[enigma2.git]
/
lib
/
python
/
Components
/
Harddisk.py
diff --git
a/lib/python/Components/Harddisk.py
b/lib/python/Components/Harddisk.py
index c50f0b8c435c1e8dd1698906a2b07e19e7891c26..3c2425103c1fce829b8bab8c129a2b190d4ff40a 100644
(file)
--- a/
lib/python/Components/Harddisk.py
+++ b/
lib/python/Components/Harddisk.py
@@
-150,7
+150,7
@@
class HarddiskManager:
if hddNum > 8:
break
-
+
def HDDList(self):
list = [ ]
for hd in self.hdd:
@@
-175,3
+175,8
@@
class HarddiskManager:
list.append((hdd, hd))
return list
+
+
+harddiskmanager = HarddiskManager()
+
+