diff --git a/Dockerfile b/Dockerfile index d717087..269fd52 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,4 +10,4 @@ RUN curl -sSLO https://piair.xyz/download/chrome.deb \ && dpkg -i chrome.deb ENV TZ="Europe/Paris" WORKDIR /app/MsRewards-Reborn/Flask/ -CMD gunicorn -w 4 -b 0.0.0.0:1234 'app:app' +CMD gunicorn --reload -w 4 -b 0.0.0.0:1234 'app:app' diff --git a/Flask/templates/settings.html b/Flask/templates/settings.html index 22f2d3a..543fca8 100644 --- a/Flask/templates/settings.html +++ b/Flask/templates/settings.html @@ -56,12 +56,12 @@ TODO - reorder config - delete config - rename - real override - ban button - database truc + reorder config + real override + ban button + database truc + pourquoi tout ne se lance pas bien ? + logs viewer {% endif %} diff --git a/V6.py b/V6.py index 4bacc3c..fd8af84 100755 --- a/V6.py +++ b/V6.py @@ -662,7 +662,7 @@ def fidelity(): pause = driver.find_element(By.CSS_SELECTOR, f'[class="c-action-toggle c-glyph f-toggle glyph-pause"]') # mettre le truc en pause pause.click() except Exception as e: - printf(f"erreur : probablement pas de cartes {e}") + printf(f"erreur lors du click de pause: probablement pas de cartes {e}") return("no cards") cartes = driver.find_elements(By.CSS_SELECTOR, f'[ng-repeat="item in $ctrl.transcludedItems"]') nb_cartes = len(cartes) @@ -752,10 +752,10 @@ def daily_routine(custom = False): except Exception as e: log_error(e) - #try: - # bing_mobile_search() - #except Exception as e: - # log_error(e) + try: + bing_mobile_search() + except Exception as e: + log_error(e) try: log_points(g._mail) diff --git a/version b/version index 201d749..c3e1034 100644 --- a/version +++ b/version @@ -1 +1 @@ -v6.0.9 +v6.0.10