

def validate(self, text, comp):
    self.reset_error()
    nb = (int(text) if text else 0)
    count = self.column.count_cards
    if (not count):
        comp.answer(self.change_nb_cards(nb))
    elif (nb >= count):
        comp.answer(self.change_nb_cards(nb))
    else:
        self.error = (_('Must be bigger than %s') % count)

dataset/ETHPy150Open Net-ng/kansha/kansha/column/comp.py CardsCounter.validate/VarMisuse@44/47 `nb`->`count`