From a6dfe9dfd46925318b948cba94a1f3504d811596 Mon Sep 17 00:00:00 2001 From: cyber-sushi Date: Mon, 15 Apr 2024 12:16:37 +0200 Subject: [PATCH] Cleaned stdout --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index fd64fb8..10f2307 100644 --- a/src/config.rs +++ b/src/config.rs @@ -40,7 +40,7 @@ pub struct RawConfig { impl RawConfig { fn new_from_file(file: &str) -> Self { - println!("Parsing config file:\n{:?}\n", file); + println!("Parsing config file:\n{:?}\n", file.rsplit_once("/").unwrap().1); let file_content: String = std::fs::read_to_string(file).unwrap(); let raw_config: RawConfig = toml::from_str(&file_content) .expect("Couldn't parse config file.");