From cd3fb2c6b718d00c64279933a6097c146e293986 Mon Sep 17 00:00:00 2001 From: Till Skrodzki Date: Wed, 17 Apr 2024 20:00:03 +0200 Subject: [PATCH] Also fetch an account in case Google login is seen --- mapadroid/ocr/screenPath.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mapadroid/ocr/screenPath.py b/mapadroid/ocr/screenPath.py index 59a8afa58..e70146214 100644 --- a/mapadroid/ocr/screenPath.py +++ b/mapadroid/ocr/screenPath.py @@ -249,6 +249,9 @@ async def __handle_screentype(self, screentype: ScreenType, elif screentype == ScreenType.GAMEDATA: self._nextscreen = ScreenType.UNDEFINED elif screentype == ScreenType.GGL: + await fetch_auth_details(mapping_manager=self._mapping_manager, + worker_state=self._worker_state, + account_handler=self._account_handler) screentype = await self.__handle_google_login(screentype) elif screentype == ScreenType.PERMISSION: screentype = await self.__handle_permissions_screen(screentype)