diff --git a/pyi2phosts/lib/validation.py b/pyi2phosts/lib/validation.py index da7a7f9..ca71de1 100755 --- a/pyi2phosts/lib/validation.py +++ b/pyi2phosts/lib/validation.py @@ -108,7 +108,7 @@ def validate_b64hash(data, check_uniq=True): # Avoid adding non-unique hashes qs = i2phost.objects.filter(b64hash=data) if qs.exists(): - raise ValidationError(_('Base64 hash must be unique')) + raise ValidationError(_('Some host already have the same Base64 hash')) return data