From 880582161e6a64777a020f80ad893511003a387f Mon Sep 17 00:00:00 2001 From: DJSchaffner Date: Thu, 29 Jun 2023 00:30:09 +0200 Subject: [PATCH] increased response timer for 2fa code --- src/logic.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/logic.py b/src/logic.py index af7ca40..c0e826e 100644 --- a/src/logic.py +++ b/src/logic.py @@ -288,7 +288,7 @@ def _depot_downloader(self, options: list): ] # Default timeout in seconds - timeout = 15 + timeout = 30 response = p.expect(responses, timeout=timeout) # Error @@ -299,6 +299,7 @@ def _depot_downloader(self, options: list): elif response == 1: # Open popup for 2FA Code # Create temporary parent window to prevent error with visibility + # @TODO add timer as actual timer or bar running out temp = tkinter.Tk() temp.withdraw() code = tkinter.simpledialog.askstring(title="Code", prompt="Please enter your 2FA login code", parent=temp).upper()