less debug output when saving config file

This commit is contained in:
yuni 2024-06-17 01:49:37 +02:00
parent 20e17e8faa
commit c5d744b280

View file

@ -484,7 +484,6 @@ impl Preferences {
if let Some(path) = get_prefs_path() { if let Some(path) = get_prefs_path() {
match toml_edit::ser::to_document::<Preferences>(self) { match toml_edit::ser::to_document::<Preferences>(self) {
Ok(doc) => { Ok(doc) => {
dbg!(&doc);
match fs::write(path.clone(), doc.to_string()) { match fs::write(path.clone(), doc.to_string()) {
Ok(_) => { Ok(_) => {
info!("Saved preferences to {path}."); info!("Saved preferences to {path}.");