if (type == "IP"):
return (("."), [(0,255),(0,255),(0,255),(0,255)], "")
# configsequencearg.get ("MAC")
+ if (type == "POSITION"):
+ return ((","), [(0,args[0]),(0,args[1]),(0,args[2]),(0,args[3])], "")
if (type == "MAC"):
return ((":"), [(1,255),(1,255),(1,255),(1,255),(1,255),(1,255)], "")
# configsequencearg.get ("CLOCK")
item = b.controlType(b)
return ((description, item))
-def configElementBoolean(name, default, texts=(_("Enable"), _("Disable"))):
+def configElementBoolean(name, default, texts=(_("Disable"), _("Enable"))):
return configElement(name, configSelection, default, texts)
config.misc = ConfigSubsection()