From 9b02aab07bc7a8c7268536dc590f2bf2f8a72cfd Mon Sep 17 00:00:00 2001 From: ArisMorgens Date: Mon, 7 Sep 2026 13:45:57 +0200 Subject: [PATCH] Updated the format of the saved file to be accepted on Windows --- cflib/localization/lighthouse_geo_estimation_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cflib/localization/lighthouse_geo_estimation_manager.py b/cflib/localization/lighthouse_geo_estimation_manager.py index 5a7e85f08..8d3347408 100644 --- a/cflib/localization/lighthouse_geo_estimation_manager.py +++ b/cflib/localization/lighthouse_geo_estimation_manager.py @@ -789,7 +789,7 @@ def _handle_data_modification(self) -> None: def _save_session(self) -> None: if self._auto_save and not self.is_empty(): if self._session_name is None: - self._session_name = datetime.datetime.now().isoformat(timespec='seconds') + self._session_name = datetime.datetime.now().strftime('%Y-%m-%dT%H-%M-%S') file_name = os.path.join(self._session_path, f'lh_geo_{self._session_name}.yaml') pathlib.Path(self._session_path).mkdir(parents=True, exist_ok=True)