Compare commits

..

No commits in common. "4e071de3e17616028e86f716eb1e033d75023add" and "80bcb5e14b5438b6c3697f541c7c2e564c65bf1d" have entirely different histories.

2 changed files with 4 additions and 3 deletions

View File

@ -30,8 +30,10 @@ class CompensationQualityChecker(AbstractQualityChecker):
"""
after_states = self.obj.get_surface_after_states()
before_states = self.obj.get_surface_before_states()
sum_after_states_surface = self.obj.get_surface_after_states()
sum_before_states_surface = self.obj.get_surface_before_states()
if after_states != before_states:
if sum_after_states_surface != sum_before_states_surface:
self.messages.append(
_("States unequal")
)

View File

@ -74,7 +74,6 @@ class CheckModalForm(BaseModalForm):
"checked_comps",
f"{comp.identifier}: {msg}"
)
if comps_valid and not checker.valid:
comps_valid = checker.valid
deductions_valid = self._are_deductions_valid()
return deductions_valid and comps_valid