Commit 0405a5f1 authored by Michal Čihař's avatar Michal Čihař

Fix logic of running consistency checks

parent 01df165c
......@@ -874,7 +874,7 @@ class Unit(models.Model):
checks_to_run = CHECKS
cleanup_checks = True
if (same_state or not is_new) and (self.fuzzy or not self.translated):
if (same_state or is_new) and (self.fuzzy or not self.translated):
# Check whether there is any message with same source
project = self.translation.subproject.project
same_source = Unit.objects.filter(
......
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