actually added the path to the open function
This commit is contained in:
parent
6c37589d1a
commit
cea5a8df94
@ -45,7 +45,7 @@ def get_custom_url():
|
||||
if selected_path is None:
|
||||
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)
|
||||
user = data['db']['user']
|
||||
password = data['db']['password']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user