fix event client name in example

This commit is contained in:
onyx-and-iris 2022-07-27 19:43:34 +01:00
parent 2a3a86c277
commit b1c281e8a1

View File

@ -29,8 +29,8 @@ def set_scene(scene, *args):
if __name__ == "__main__":
req_cl = obs.ReqClient()
req_ev = obs.EventClient()
observer = Observer(req_ev)
ev_cl = obs.EventClient()
observer = Observer(ev_cl)
keyboard.add_hotkey("1", set_scene, args=("START",))
keyboard.add_hotkey("2", set_scene, args=("BRB",))