From ab71414d2750070079ff38ca468172cf663c56db Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Wed, 4 Jun 2025 18:03:29 +0100 Subject: [PATCH] no need to create list here --- obsws_cli/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/obsws_cli/app.py b/obsws_cli/app.py index 3a28f12..838929a 100644 --- a/obsws_cli/app.py +++ b/obsws_cli/app.py @@ -13,7 +13,7 @@ from . import settings from .alias import AliasGroup app = typer.Typer(cls=AliasGroup) -for sub_typer in [ +for sub_typer in ( 'filter', 'group', 'hotkey', @@ -29,7 +29,7 @@ for sub_typer in [ 'stream', 'studiomode', 'virtualcam', -]: +): module = importlib.import_module(f'.{sub_typer}', package=__package__) app.add_typer(module.app, name=sub_typer)