aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/SetupDevices.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components/SetupDevices.py')
-rw-r--r--lib/python/Components/SetupDevices.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/python/Components/SetupDevices.py b/lib/python/Components/SetupDevices.py
index 5ced8451..3161f125 100644
--- a/lib/python/Components/SetupDevices.py
+++ b/lib/python/Components/SetupDevices.py
@@ -4,6 +4,7 @@ from config import configElement
from config import ConfigSubsection
from config import ConfigSlider
from config import configSelection
+from config import configText
def InitSetupDevices():
config.timezone = ConfigSubsection();
@@ -32,3 +33,11 @@ def InitSetupDevices():
config.expert.skipconfirm = configElement("config.expert.skipconfirm", configSelection, 1, ("Enable", "Disable") );
config.expert.hideerrors = configElement("config.expert.hideerrors", configSelection, 1, ("Enable", "Disable") );
config.expert.autoinfo = configElement("config.expert.autoinfo", configSelection, 1, ("Enable", "Disable") );
+
+ #here?
+ config.tv = ConfigSubsection();
+ config.tv.lastservice = configElement("config.tv.lastservice", configText, "", 0);
+
+ config.tv.lastservice.value = "blasel"
+ config.tv.lastservice.save()
+