fixes in convergence, mercury, phytron, triton

This commit is contained in:
2022-06-01 09:21:47 +02:00
parent 3563a0db16
commit 68e2e06905
4 changed files with 18 additions and 15 deletions

View File

@ -60,8 +60,8 @@ class HasConvergence:
def cleanup(self, state):
state.default_cleanup(state)
if self.stopped:
if self.stopped is Stop: # and not Restart
if state.stopped:
if state.stopped is Stop: # and not Restart
self.status = WARN, 'stopped'
else:
self.status = WARN, repr(state.last_error)