Commit 8ba8a77f authored by Michal Čihař's avatar Michal Čihař

Do not set fuzzy flag on self

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent fa4147b2
......@@ -633,6 +633,8 @@ class Unit(models.Model):
same_source = Unit.objects.filter(
translation__subproject=self.translation.subproject,
context=self.context,
).exclude(
id=self.id
)
if not same_source.exists():
return
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment