def clean_message(self):
        message = self.cleaned_data['message']
        try:
            message = message.decode('base64')
        except TypeError as e:
            raise ValidationError(e.msg % 'Cannot convert to binary: %r')

        if len(message) % 16:
            raise ValidationError('Wrong block size for message !')

        if len(message) <= 16:
            raise ValidationError('Message too short or missing IV !')

        return message
dataset/ETHPy150Open ionelmc/django-monkey-team/src/monkey_team/forms.py/DecodeForm.clean_message/swapped operands of `%`