Skip to content

Commit 01c9b9d

Browse files
committed
Only change status to running in _start if not already set to that
1 parent 01c20ca commit 01c9b9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simvue/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ def _start(self, reconnect: bool = False) -> bool:
465465

466466
logger.debug("Starting run")
467467

468-
if self._sv_obj:
468+
if self._sv_obj and self._sv_obj.status != "running":
469469
self._sv_obj.status = self._status
470470
self._sv_obj.commit()
471471

0 commit comments

Comments
 (0)