Skip to content

Commit e26413d

Browse files
authored
Merge pull request #377 from simvue-io/hotfix/offline_heartbeat
Fixed path to heartbeat file
2 parents 2a58868 + 81fdc4a commit e26413d

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)