From 2ef48609d9c09d20e4820c068595b3492b9db338 Mon Sep 17 00:00:00 2001 From: Dylan De Faoite Date: Mon, 27 Apr 2026 23:13:36 +0100 Subject: [PATCH] fix(state): shallow copy of empty state --- rewind/state.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rewind/state.py b/rewind/state.py index 3592b80..f5891a2 100644 --- a/rewind/state.py +++ b/rewind/state.py @@ -21,7 +21,7 @@ def get_state_file_path() -> Path: def load_state() -> dict: path = get_state_file_path() if not path.exists(): - return EMPTY_STATE.copy() + return {"files": [], "markers": []} with path.open() as f: return json.load(f)