diff --git a/jans-cli-tui/cli_tui/plugins/999_jans/main.py b/jans-cli-tui/cli_tui/plugins/999_jans/main.py index fd74ef8009c..bce9958198c 100755 --- a/jans-cli-tui/cli_tui/plugins/999_jans/main.py +++ b/jans-cli-tui/cli_tui/plugins/999_jans/main.py @@ -73,8 +73,8 @@ async def coroutine(): asyncio.ensure_future(coroutine()) - del config_cli.config['DEFAULT']['access_token_enc'] - del config_cli.config['DEFAULT']['user_data'] + config_cli.config['DEFAULT'].pop('access_token_enc', None) + config_cli.config['DEFAULT'].pop('user_data', None) config_cli.write_config() self.exit_cli()