From 3da7aedd7fd69c3fd72846f8d9eeac1e283b787d Mon Sep 17 00:00:00 2001 From: dw-0 Date: Wed, 1 May 2024 13:08:04 +0200 Subject: [PATCH] refactor: remove redundant variable assignment Signed-off-by: Dominik Willner --- kiauh/components/webui_client/client_utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kiauh/components/webui_client/client_utils.py b/kiauh/components/webui_client/client_utils.py index 3bb224c..df8a660 100644 --- a/kiauh/components/webui_client/client_utils.py +++ b/kiauh/components/webui_client/client_utils.py @@ -45,8 +45,7 @@ def get_client_config_status( Literal["repo", "local", "remote"], Union[str, int], ]: - client_config = client.client_config - client_config = client_config.config_dir + client_config = client.client_config.config_dir return { "repo": RepoManager.get_repo_name(client_config),