mirror of
https://github.com/onyx-and-iris/obsws-python.git
synced 2024-11-22 12:50:53 +00:00
fix event client name in example
This commit is contained in:
parent
2a3a86c277
commit
b1c281e8a1
@ -29,8 +29,8 @@ def set_scene(scene, *args):
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
req_cl = obs.ReqClient()
|
req_cl = obs.ReqClient()
|
||||||
req_ev = obs.EventClient()
|
ev_cl = obs.EventClient()
|
||||||
observer = Observer(req_ev)
|
observer = Observer(ev_cl)
|
||||||
|
|
||||||
keyboard.add_hotkey("1", set_scene, args=("START",))
|
keyboard.add_hotkey("1", set_scene, args=("START",))
|
||||||
keyboard.add_hotkey("2", set_scene, args=("BRB",))
|
keyboard.add_hotkey("2", set_scene, args=("BRB",))
|
||||||
|
Loading…
Reference in New Issue
Block a user