From f24aec8da8fcac8fd6f564c5e04ccbe5f1073d42 Mon Sep 17 00:00:00 2001 From: Kumi Date: Thu, 18 Jul 2024 19:10:22 +0200 Subject: [PATCH] fix(config): change config path to current directory Relative path for the configuration file was adjusted to refer to the current directory, simplifying file location and enhancing script portability. This change prevents issues when running the script from different directories. --- manage_hetzner_servers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manage_hetzner_servers.py b/manage_hetzner_servers.py index 5b159e0..7d17f9f 100644 --- a/manage_hetzner_servers.py +++ b/manage_hetzner_servers.py @@ -6,7 +6,7 @@ import pathlib import sys UPDATE_SCRIPT_PATH = pathlib.Path(__file__).parent / "update_local_config.py" -CONFIG_PATH = pathlib.Path(__file__).parent / "config.ini" +CONFIG_PATH = "config.ini" def get_hetzner_client():