aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/config.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py
index 7f8f5072..5d098a37 100644
--- a/lib/python/Components/config.py
+++ b/lib/python/Components/config.py
@@ -334,3 +334,8 @@ class configElement:
self.loadData()
def save(self):
configfile.setKey(self.configPath, self.datatoFile(self.controlType,self.value))
+
+def getConfigListEntry(description, element):
+ b = element
+ item = b.controlType(b)
+ return ((description, item)) \ No newline at end of file