diff --git a/V5.py b/V5.py index 20e9a22..e616fcf 100755 --- a/V5.py +++ b/V5.py @@ -474,10 +474,10 @@ def login(ldriver): ldriver.refresh() rgpd_popup(ldriver) # Ultra important ldriver.get("https://www.bing.com/rewardsapp/flyout") - if "SadPanda.svg" in ldriver.page_source : - log_error('test SadPanda before', ldriver) - driver.execute_script("location.reload(true);") - log_error('test SadPanda after', ldriver) + #if "SadPanda.svg" in ldriver.page_source : + # log_error('test SadPanda before', ldriver) + # driver.execute_script("location.reload(true);") + # log_error('test SadPanda after', ldriver) if not('>Tableau de bord' in ldriver.page_source): try : ldriver.find_element(By.CSS_SELECTOR, "[h='ID=RewardsFlyout,2.1']").click() diff --git a/modules/config.py b/modules/config.py index cac20bd..b0edefa 100644 --- a/modules/config.py +++ b/modules/config.py @@ -82,7 +82,7 @@ parser.add_argument( ) parser.add_argument( - "--updated", + "--version", help="display a message on discord to tell that the bot have been updated", dest="update_version", default="None" diff --git a/version b/version index fbbf144..3c95f37 100644 --- a/version +++ b/version @@ -1 +1 @@ -v5.5.1 +v5.5.2