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:
parent
bc9c9aeb75
commit
f24aec8da8
1 changed files with 1 additions and 1 deletions
|
@ -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():
|
||||||
|
|
Loading…
Reference in a new issue