From 93bc180543dc33f9fb8b55c98604ea202f4b109f Mon Sep 17 00:00:00 2001 From: Thibault Douge Date: Tue, 2 Feb 2021 18:35:34 +0100 Subject: [PATCH] [amazon] change condition because the condition not match with empty dict --- modules/amazon/browser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/amazon/browser.py b/modules/amazon/browser.py index 74b60ae672..5880b03631 100644 --- a/modules/amazon/browser.py +++ b/modules/amazon/browser.py @@ -95,7 +95,7 @@ def locate_browser(self, state): self.location(state['url']) def check_interactive(self): - if self.config['request_information'].get() is None: + if not self.config['request_information'].get(): raise NeedInteractiveFor2FA() def send_notification_interactive_mode(self): -- GitLab