From a110841533a66d9785f26356f1bd416173de0869 Mon Sep 17 00:00:00 2001 From: piair Date: Thu, 23 Dec 2021 13:28:14 +0100 Subject: [PATCH] fixed LogPoint + printf --- V4.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/V4.py b/V4.py index 69d3391..579016c 100644 --- a/V4.py +++ b/V4.py @@ -24,7 +24,7 @@ Headless = True Log = True def printf(txt): - if Log : + if not Log : print(txt) else : LogError(txt) @@ -394,6 +394,7 @@ def login() : driver.find_element_by_id('idSIButton9').click() except : pass + printf("login completed") CustomSleep(5) RGPD() @@ -588,6 +589,7 @@ def TryPlay(nom ="inconnu"): def LogPoint(account="unknown", log = False): #log des points sur discord + driver.get('https://www.bing.com/rewardsapp/flyout') if not IsLinux : asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy()) else :