return str(data.strip())
elif control == configSequence:
- print data
try:
value = ((len(data) * ("%d" + self.vals[0]))[0:-1]) % tuple(data)
except:
def reload(self):
self.loadData()
def save(self):
- configfile.setKey(self.configPath, self.datatoFile(self.controlType,self.value))
+ if self.defaultValue != self.value:
+ configfile.setKey(self.configPath, self.datatoFile(self.controlType,self.value))
class configElement_nonSave(configElement):
def __init__(self, configPath, control, defaultValue, vals):