From 0515548682a95db643a008146105d8ecdb446e58 Mon Sep 17 00:00:00 2001 From: FxQnLr Date: Mon, 26 Dec 2022 21:57:03 +0100 Subject: changed config to toml, autocreate config; better error handling --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 957e5aa..a093bb7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,7 +2,7 @@ use modlist::{config::Cfg, input::get_input}; #[tokio::main] async fn main() { - let config = Cfg::init("config.ini"); + let config = Cfg::init("config.toml").unwrap(); //TODO Error Handling get_input(config).await.unwrap(); } -- cgit v1.2.3