Skip to content

Commit 27f3ed9

Browse files
authored
Merge pull request #378 from simvue-io/hotfix/offline_heartbeat
Fixed path to heartbeat file
2 parents 68b9420 + 81fdc4a commit 27f3ed9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simvue/factory/proxy/offline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def send_heartbeat(self) -> typing.Optional[dict[str, typing.Any]]:
203203
logger.debug(
204204
f"Creating heartbeat file: {os.path.join(self._directory, 'heartbeat')}"
205205
)
206-
pathlib.Path(os.path.join(self._directory, "heartbeat"), "a").touch()
206+
pathlib.Path(os.path.join(self._directory, "heartbeat")).touch()
207207
return {"success": True}
208208

209209
@skip_if_failed("_aborted", "_suppress_errors", False)

0 commit comments

Comments
 (0)