aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-10-08 21:07:33 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-10-08 21:07:33 +0000
commitb81f605c664954ebf637cc4280eaa88d023a7ab4 (patch)
tree9b964cd386670719274acadba8fe33f9c5adae83 /lib/python
parent14153064be8761761d7b511dbfa4c4c6a706ad4d (diff)
downloadenigma2-b81f605c664954ebf637cc4280eaa88d023a7ab4.tar.gz
enigma2-b81f605c664954ebf637cc4280eaa88d023a7ab4.zip
fix off-by-one bug in ConfigSubList
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Components/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py
index 3b64763e..07186157 100644
--- a/lib/python/Components/config.py
+++ b/lib/python/Components/config.py
@@ -631,8 +631,8 @@ class ConfigSubList(list, object):
saved_value = property(getSavedValue, setSavedValue)
def append(self, item):
- list.append(self, item)
i = str(len(self))
+ list.append(self, item)
if i in self.stored_values:
item.saved_value = self.stored_values[i]
item.load()