From 1cc63f6d701a4721ded2f2b21c938a0a90309f12 Mon Sep 17 00:00:00 2001 From: piair Date: Wed, 29 Dec 2021 11:51:08 +0100 Subject: [PATCH] same --- V4.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/V4.py b/V4.py index 6abc447..2e232bc 100644 --- a/V4.py +++ b/V4.py @@ -106,6 +106,7 @@ def CustomSleep(temps): else : sleep(temps) + def ListTabs(Mdriver = None ): tabs = [] if Mdriver : @@ -503,8 +504,8 @@ def BingMobileSearch(override = randint(20,25)): CustomSleep(uniform(5,10)) Mlogin(echec) else : - LogError('recherche sur mobile impossible. On skip \n\n\n\n\n\n\n\n', Mdriver=MobileDriver) - LogError(f"login impossible 3 fois de suite. {e}",Mdriver=MobileDriver) + LogError('recherche sur mobile impossible. On skip \n\n\n\n\n\n\n\n', Mobdriver=MobileDriver) + LogError(f"login impossible 3 fois de suite. {e}",Mobdriver=MobileDriver) MobileDriver.quit() return(True) @@ -527,7 +528,7 @@ def BingMobileSearch(override = randint(20,25)): except exceptions.NoAlertPresentException as e : pass except Exception as e: - LogError(f"error sur une alerte dans le driver mobile. {e}",Mdriver=MobileDriver) + LogError(f"error sur une alerte dans le driver mobile. {e}",Mobdriver=MobileDriver) if not Mlogin(echec) : @@ -555,7 +556,7 @@ def BingMobileSearch(override = randint(20,25)): except Exception as e: - LogError("BingMobileSearch" + str(e),Mdriver=MobileDriver) + LogError("BingMobileSearch" + str(e),Mobdriver=MobileDriver) try : MobileDriver.quit() except Exception as e: @@ -746,6 +747,7 @@ CustomSleep(2) shuffle(Credentials) + for i in Credentials :