if self.hidden:
text = len(text) * self.censor_char
return (mtext, text, mark)
if self.hidden:
text = len(text) * self.censor_char
return (mtext, text, mark)
def onSelect(self, session):
ConfigText.onSelect(self, session)
self.hidden = False
def onSelect(self, session):
ConfigText.onSelect(self, session)
self.hidden = False
# config.dipswitches.append(ConfigYesNo())
# config.dipswitches.append(ConfigYesNo())
# config.dipswitches.append(ConfigYesNo())
# config.dipswitches.append(ConfigYesNo())
# config.dipswitches.append(ConfigYesNo())
# config.dipswitches.append(ConfigYesNo())
# care must be taken that the 'key' has a proper
# str() method, because it will be used in the config
# file.
# care must be taken that the 'key' has a proper
# str() method, because it will be used in the config
# file.
# __setattr__.
# If you don't understand this, try adding
# __setattr__ to a usual exisiting class and you will.
# __setattr__.
# If you don't understand this, try adding
# __setattr__ to a usual exisiting class and you will.