HOTFIX
* fixes bug where quality checker for compensations would not check properly for state surface sums
This commit is contained in:
1 parent
e600b78c74
commit
5551a513e9
2 files changed
+3
-4
No files matched your search
@@ -30,10 +30,8 @@ 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 sum_after_states_surface != sum_before_states_surface:
|
||||
if after_states != before_states:
|
||||
self.messages.append(
|
||||
_("States unequal")
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user