git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
png cleanup by nemesis, source changes.
[enigma2.git]
/
lib
/
python
/
Components
/
NimManager.py
diff --git
a/lib/python/Components/NimManager.py
b/lib/python/Components/NimManager.py
index ec7d46fe0f4d547c73bb3eb2133a2ec769d89f72..bfe8f36b8ba167d3cecdd979a9eb39b15bae630c 100644
(file)
--- a/
lib/python/Components/NimManager.py
+++ b/
lib/python/Components/NimManager.py
@@
-597,6
+597,9
@@
class NimManager:
#
# Type will be either "DVB-S", "DVB-S2", "DVB-T", "DVB-C" or None.
#
# Type will be either "DVB-S", "DVB-S2", "DVB-T", "DVB-C" or None.
+ # nim_slots is an array which has exactly one entry for each slot, even for empty ones.
+ self.nim_slots = [ ]
+
nimfile = tryOpen("/proc/bus/nim_sockets")
if nimfile is None:
nimfile = tryOpen("/proc/bus/nim_sockets")
if nimfile is None:
@@
-621,9
+624,6
@@
class NimManager:
entries[current_slot]["name"] = _("N/A")
nimfile.close()
entries[current_slot]["name"] = _("N/A")
nimfile.close()
- # nim_slots is an array which has exactly one entry for each slot, even for empty ones.
- self.nim_slots = [ ]
-
for id, entry in entries.items():
if not (entry.has_key("name") and entry.has_key("type")):
entry["name"] = _("N/A")
for id, entry in entries.items():
if not (entry.has_key("name") and entry.has_key("type")):
entry["name"] = _("N/A")