Skip to content

Commit 81fdc4a

Browse files
committed
Fixed path to heartbeat file
1 parent 06fed7b commit 81fdc4a

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)