mirror of
https://github.com/onyx-and-iris/obsws-python.git
synced 2026-04-18 14:03:32 +00:00
update examples to work with modified req client
examples now expect env variables
This commit is contained in:
@@ -3,9 +3,9 @@ import os
|
||||
import obsws_python as obs
|
||||
|
||||
req_cl = obs.ReqClient(
|
||||
host=os.getenv("OBSWS_TEST_HOST", "localhost"),
|
||||
port=int(os.getenv("OBSWS_TEST_PORT", 4455)),
|
||||
password=os.getenv("OBSWS_TEST_PASSWORD", ""),
|
||||
host=os.getenv("OBSWS_HOST", "localhost"),
|
||||
port=int(os.getenv("OBSWS_PORT", 4455)),
|
||||
password=os.getenv("OBSWS_PASSWORD", ""),
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user