no need to merge here.

This commit is contained in:
onyx-and-iris 2022-11-17 12:11:53 +00:00
parent 8d2b5f3447
commit f6f542e765

View File

@ -41,7 +41,7 @@ class ObsClient:
filepath = Path.cwd() / "config.toml" filepath = Path.cwd() / "config.toml"
if filepath.exists(): if filepath.exists():
with open(filepath, "rb") as f: with open(filepath, "rb") as f:
conn |= tomllib.load(f) conn = tomllib.load(f)
return conn["connection"] if "connection" in conn else conn return conn["connection"] if "connection" in conn else conn
def authenticate(self): def authenticate(self):