From 9a1977741147a4dc4ff281b83d9bf3700033340a Mon Sep 17 00:00:00 2001 From: Angelo Puglisi Date: Thu, 22 Feb 2024 13:29:21 +0100 Subject: [PATCH] fix open_browser from conf file --- gimme_aws_creds/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gimme_aws_creds/main.py b/gimme_aws_creds/main.py index c33627c..3d469b4 100644 --- a/gimme_aws_creds/main.py +++ b/gimme_aws_creds/main.py @@ -616,7 +616,7 @@ def set_auth_session(self, auth_session): def auth_session(self): if 'auth_session' in self._cache: return self._cache['auth_session'] - if self.config.open_browser is True or self.conf_dict.get('open_browser') == "True": + if self.config.open_browser is True or self.conf_dict.get('open_browser') is True: open_browser = True else: open_browser = False