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 crash when ci state of cislot > 0 changed
[enigma2.git]
/
lib
/
python
/
Screens
/
Ci.py
diff --git
a/lib/python/Screens/Ci.py
b/lib/python/Screens/Ci.py
index d23fb0447ee1a70b85e148ca24981bb1d4d3976c..09083f4e2742b6675cfd0bc4381a05c3b28fde91 100644
(file)
--- a/
lib/python/Screens/Ci.py
+++ b/
lib/python/Screens/Ci.py
@@
-265,7
+265,6
@@
class CiSelection(Screen):
for slot in range(MAX_NUM_CI):
state = eDVBCI_UI.getInstance().getState(slot)
for slot in range(MAX_NUM_CI):
state = eDVBCI_UI.getInstance().getState(slot)
- print "slot", slot, "state", state
if state != -1:
self.appendEntries(slot, state)
CiHandler.registerCIMessageHandler(slot, self.ciStateChanged)
if state != -1:
self.appendEntries(slot, state)
CiHandler.registerCIMessageHandler(slot, self.ciStateChanged)
@@
-309,7
+308,7
@@
class CiSelection(Screen):
self.state[slot] = state
slotidx=0
self.state[slot] = state
slotidx=0
- while self.list[slotidx][3] != slot:
+ while
len(self.list[slotidx]) < 3 or
self.list[slotidx][3] != slot:
slotidx += 1
slotidx += 1 # do not change Reset
slotidx += 1
slotidx += 1 # do not change Reset