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.
This commit is contained in:
Kumi 2024-07-18 19:10:22 +02:00
parent bc9c9aeb75
commit f24aec8da8
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -6,7 +6,7 @@ import pathlib
import sys import sys
UPDATE_SCRIPT_PATH = pathlib.Path(__file__).parent / "update_local_config.py" 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(): def get_hetzner_client():