def fromStr(self, vals, val, prefix): ti = config.name2ti(val) if ti: return ti.lt else: return self.defVal