fixed LogPoint + printf
This commit is contained in:
parent
f4526133fb
commit
a110841533
4
V4.py
4
V4.py
@ -24,7 +24,7 @@ Headless = True
|
|||||||
Log = True
|
Log = True
|
||||||
|
|
||||||
def printf(txt):
|
def printf(txt):
|
||||||
if Log :
|
if not Log :
|
||||||
print(txt)
|
print(txt)
|
||||||
else :
|
else :
|
||||||
LogError(txt)
|
LogError(txt)
|
||||||
@ -394,6 +394,7 @@ def login() :
|
|||||||
driver.find_element_by_id('idSIButton9').click()
|
driver.find_element_by_id('idSIButton9').click()
|
||||||
except :
|
except :
|
||||||
pass
|
pass
|
||||||
|
|
||||||
printf("login completed")
|
printf("login completed")
|
||||||
CustomSleep(5)
|
CustomSleep(5)
|
||||||
RGPD()
|
RGPD()
|
||||||
@ -588,6 +589,7 @@ def TryPlay(nom ="inconnu"):
|
|||||||
|
|
||||||
|
|
||||||
def LogPoint(account="unknown", log = False): #log des points sur discord
|
def LogPoint(account="unknown", log = False): #log des points sur discord
|
||||||
|
driver.get('https://www.bing.com/rewardsapp/flyout')
|
||||||
if not IsLinux :
|
if not IsLinux :
|
||||||
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
|
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
|
||||||
else :
|
else :
|
||||||
|
Loading…
Reference in New Issue
Block a user