- config.expert.splitsize = configElement("config.expert.splitsize", configSelection, 1, ("0.5Gbyte", "1.0 GByte", "1.5 GByte", "2.0 GByte") );
- config.expert.satpos = configElement("config.expert.satpos", configSelection, 1, ("Enable", "Disable") );
- config.expert.fastzap = configElement("config.expert.fastzap", configSelection, 0, ("Enable", "Disable") );
- 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()
-
+ config.expert.satpos = ConfigOnOff(default = True)
+ config.expert.fastzap = ConfigOnOff(default = True)
+ config.expert.skipconfirm = ConfigOnOff(default = False)
+ config.expert.hideerrors = ConfigOnOff(default = False)
+ config.expert.autoinfo = ConfigOnOff(default = True)