This commit is contained in:
Aleksander
2025-11-12 17:06:53 +01:00
parent adb093b725
commit 6136a5aa43
8 changed files with 33 additions and 31 deletions
+1 -1
View File
@@ -509,7 +509,7 @@ fn get_state_path() -> PathBuf {
pub fn save_state(config: &GeneralConfig) -> anyhow::Result<()> {
let conf = AutoState {
sets: config.sets.clone(),
last_set: config.last_set.clone(),
last_set: config.last_set,
};
let json = serde_json::to_string_pretty(&conf).unwrap(); // want panic