mirror of
https://github.com/onyx-and-iris/obsws-python.git
synced 2024-11-22 04:40:53 +00:00
no need to merge here.
This commit is contained in:
parent
8d2b5f3447
commit
f6f542e765
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user