From 3e45bfd4ccf04899adb8eedd73a021ba5b9fcab6 Mon Sep 17 00:00:00 2001 From: Uwe Fechner Date: Sun, 10 Mar 2024 11:48:34 +0100 Subject: [PATCH] remove hard coded path --- src/KitePodModels.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/KitePodModels.jl b/src/KitePodModels.jl index 68c803b..881db0f 100644 --- a/src/KitePodModels.jl +++ b/src/KitePodModels.jl @@ -9,7 +9,7 @@ using DocStringExtensions export calc_alpha_depower, init_kcu, set_depower_steering, get_depower, get_steering export KCU -if ! isfile("./data/settings.yaml") +if ! isfile(joinpath(get_data_path(), "settings.yaml")) copy_settings() end