From 07202152735491de4db9127c9c56aa280d05a506 Mon Sep 17 00:00:00 2001 From: Mustafa Baser Date: Wed, 23 Nov 2022 20:46:07 +0300 Subject: [PATCH] fix: jans-cli screen hangs on scim save (ref: #3061) --- jans-cli-tui/cli_tui/plugins/030_scim/main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jans-cli-tui/cli_tui/plugins/030_scim/main.py b/jans-cli-tui/cli_tui/plugins/030_scim/main.py index 650d8bcc096..85ddc6bd238 100755 --- a/jans-cli-tui/cli_tui/plugins/030_scim/main.py +++ b/jans-cli-tui/cli_tui/plugins/030_scim/main.py @@ -119,9 +119,8 @@ def save_app_config(self) -> None: if data[key] and key not in self.app_config: patche_list.append({'op':'add', 'path': key, 'value': data[key]}) - if not patche_list: - self.app.show_message(_("Warning"), _("No changes was done on Scim appilication configuration. Nothing to save.")) + self.app.show_message(_("Warning"), _("No changes was done on Scim appilication configuration. Nothing to save."), tobefocused=self.app.center_container) return async def coroutine():