less debug output when saving config file
This commit is contained in:
parent
20e17e8faa
commit
c5d744b280
|
@ -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}.");
|
||||||
|
|
Loading…
Reference in a new issue