From 521d661f1c52e73fe274e48f7a82f8e8ed2c5377 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 8 Nov 2017 17:41:59 +0100 Subject: [PATCH] Fix path --- bin/domain/imag-contact/src/create.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/domain/imag-contact/src/create.rs b/bin/domain/imag-contact/src/create.rs index d481b802..ac1542bf 100644 --- a/bin/domain/imag-contact/src/create.rs +++ b/bin/domain/imag-contact/src/create.rs @@ -381,19 +381,19 @@ fn parse_toml_into_vcard(toml: Value) -> Option { { // parse others debug!("Parsing others"); - if let Some(categories) = read_strary_from_toml(&toml, "others.categories") { + if let Some(categories) = read_strary_from_toml(&toml, "other.categories") { vcard = vcard.with_categories(categories); } else { debug!("No categories"); } - if let Some(webpage) = read_str_from_toml(&toml, "others.webpage") { + if let Some(webpage) = read_str_from_toml(&toml, "other.webpage") { vcard = vcard.with_url(webpage); } else { debug!("No webpage"); } - if let Some(note) = read_str_from_toml(&toml, "others.note") { + if let Some(note) = read_str_from_toml(&toml, "other.note") { vcard = vcard.with_note(note); } else { debug!("No note");