diff options
Diffstat (limited to 'src/session.rs')
| -rw-r--r-- | src/session.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/session.rs b/src/session.rs index 8e0ef02..a1da28f 100644 --- a/src/session.rs +++ b/src/session.rs | |||
| @@ -131,7 +131,6 @@ impl Session { | |||
| 131 | pub fn open(id: &str) -> Result<(Session, Value, Vec<Value>), String> { | 131 | pub fn open(id: &str) -> Result<(Session, Value, Vec<Value>), String> { |
| 132 | let path = sessions_dir().join(format!("{id}.jsonl")); | 132 | let path = sessions_dir().join(format!("{id}.jsonl")); |
| 133 | let raw = std::fs::read(&path).map_err(|e| format!("{}: {e}", path.display()))?; | 133 | let raw = std::fs::read(&path).map_err(|e| format!("{}: {e}", path.display()))?; |
| 134 | let _ = File::open(&path); | ||
| 135 | 134 | ||
| 136 | let mut model = String::new(); | 135 | let mut model = String::new(); |
| 137 | let mut system = Value::Null; | 136 | let mut system = Value::Null; |
