actually added the path to the open function

This commit is contained in:
Linus Vogel 2026-02-01 21:54:11 +01:00
parent 6c37589d1a
commit cea5a8df94

View File

@ -45,7 +45,7 @@ def get_custom_url():
if selected_path is None: if selected_path is None:
raise RuntimeError("No loadable config found!") raise RuntimeError("No loadable config found!")
with open("./pillar_tool.toml", 'rb') as f: with open(selected_path, 'rb') as f:
data = tomllib.load(f) data = tomllib.load(f)
user = data['db']['user'] user = data['db']['user']
password = data['db']['password'] password = data['db']['password']