aboutsummaryrefslogtreecommitdiff
path: root/src/persist
diff options
context:
space:
mode:
Diffstat (limited to 'src/persist')
-rw-r--r--src/persist/io.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/persist/io.rs b/src/persist/io.rs
index f4acd662..8cd25dfb 100644
--- a/src/persist/io.rs
+++ b/src/persist/io.rs
@@ -5,7 +5,7 @@ use tracing::warn;
use super::snapshot::{parse_snapshot, snapshot_file_version, SessionSnapshot, SNAPSHOT_VERSION};
fn session_path() -> PathBuf {
- crate::config::config_dir().join("session.json")
+ crate::session::data_dir().join("session.json")
}
pub(super) fn save_to_path(path: &Path, snapshot: &SessionSnapshot) -> std::io::Result<()> {