From cea5a8df9407df4ec6be9fc9074c0fd46c8bbbf6 Mon Sep 17 00:00:00 2001 From: Linus Vogel Date: Sun, 1 Feb 2026 21:54:11 +0100 Subject: [PATCH] actually added the path to the open function --- pillar_tool/db/migrations/env.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pillar_tool/db/migrations/env.py b/pillar_tool/db/migrations/env.py index c07bbc5..b69d0fd 100644 --- a/pillar_tool/db/migrations/env.py +++ b/pillar_tool/db/migrations/env.py @@ -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']