From b1c281e8a1938bcf406aa5ab61965dcd748ac35c Mon Sep 17 00:00:00 2001 From: onyx-and-iris <75868496+onyx-and-iris@users.noreply.github.com> Date: Wed, 27 Jul 2022 19:43:34 +0100 Subject: [PATCH] fix event client name in example --- examples/hotkeys/__main__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/hotkeys/__main__.py b/examples/hotkeys/__main__.py index f50211d..413fe42 100644 --- a/examples/hotkeys/__main__.py +++ b/examples/hotkeys/__main__.py @@ -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",))