From 23e48359338644c29d40c8982624c07231c380f7 Mon Sep 17 00:00:00 2001 From: _ <_@_> Date: Mon, 30 Oct 2023 21:13:07 -0500 Subject: [PATCH] :checkered_flag: fix Windows build --- crates/ptth_server/src/load_toml.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/ptth_server/src/load_toml.rs b/crates/ptth_server/src/load_toml.rs index 174c1ea..bf4bad1 100644 --- a/crates/ptth_server/src/load_toml.rs +++ b/crates/ptth_server/src/load_toml.rs @@ -55,5 +55,6 @@ pub fn load < > ( config_file_path: P ) -> Result { - load_public (config_file_path) + let f = File::open (&config_file_path)?; + load_inner (f) }