Example #1
0
    def confirm(self):
        if len(self.notes.read()) < self.min_length:
            warning(
                _("The note must have at least %s characters.") %
                self.min_length)
            return

        BaseEditor.confirm(self)
Example #2
0
    def confirm(self):
        if len(self.notes.read()) < self.min_length:
            warning(_("The note must have at least %s characters.") % self.min_length)
            return

        BaseEditor.confirm(self)