From 1d6733002bb33659fb856a94464d6e31061d694d Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Sat, 8 Jul 2023 21:10:04 +0100 Subject: [PATCH] steps. --- __main__.py | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/__main__.py b/__main__.py index c79e8fc..77ffbec 100644 --- a/__main__.py +++ b/__main__.py @@ -49,16 +49,14 @@ def register_hotkeys(duckypad): def duckypad_hotkeys(): keyboard.add_hotkey("ctrl+F21", duckypad.reset) - [ - step() - for step in ( - audio_hotkeys, - scene_hotkeys, - streamlabs_controller_hotkeys, - obsws_hotkeys, - duckypad_hotkeys, - ) - ] + steps = ( + audio_hotkeys, + scene_hotkeys, + streamlabs_controller_hotkeys, + obsws_hotkeys, + duckypad_hotkeys, + ) + [step() for step in steps] def main():