auto reload. added back mobile search.
This commit is contained in:
parent
5c23097873
commit
659e7d3664
|
@ -10,4 +10,4 @@ RUN curl -sSLO https://piair.xyz/download/chrome.deb \
|
||||||
&& dpkg -i chrome.deb
|
&& dpkg -i chrome.deb
|
||||||
ENV TZ="Europe/Paris"
|
ENV TZ="Europe/Paris"
|
||||||
WORKDIR /app/MsRewards-Reborn/Flask/
|
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'
|
||||||
|
|
|
@ -56,12 +56,12 @@
|
||||||
<tr>
|
<tr>
|
||||||
TODO
|
TODO
|
||||||
</tr>
|
</tr>
|
||||||
<tr>reorder config</tr>
|
<tr><td>reorder config</td></tr>
|
||||||
<tr>delete config</tr>
|
<tr><td>real override</td></tr>
|
||||||
<tr>rename</tr>
|
<tr><td>ban button</td></tr>
|
||||||
<tr>real override</tr>
|
<tr><td>database truc</td></tr>
|
||||||
<tr>ban button</tr>
|
<tr><td>pourquoi tout ne se lance pas bien ?</td></tr>
|
||||||
<tr>database truc</tr>
|
<tr><td>logs viewer</td></tr>
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
10
V6.py
10
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 = driver.find_element(By.CSS_SELECTOR, f'[class="c-action-toggle c-glyph f-toggle glyph-pause"]') # mettre le truc en pause
|
||||||
pause.click()
|
pause.click()
|
||||||
except Exception as e:
|
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")
|
return("no cards")
|
||||||
cartes = driver.find_elements(By.CSS_SELECTOR, f'[ng-repeat="item in $ctrl.transcludedItems"]')
|
cartes = driver.find_elements(By.CSS_SELECTOR, f'[ng-repeat="item in $ctrl.transcludedItems"]')
|
||||||
nb_cartes = len(cartes)
|
nb_cartes = len(cartes)
|
||||||
|
@ -752,10 +752,10 @@ def daily_routine(custom = False):
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
log_error(e)
|
log_error(e)
|
||||||
|
|
||||||
#try:
|
try:
|
||||||
# bing_mobile_search()
|
bing_mobile_search()
|
||||||
#except Exception as e:
|
except Exception as e:
|
||||||
# log_error(e)
|
log_error(e)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
log_points(g._mail)
|
log_points(g._mail)
|
||||||
|
|
Loading…
Reference in New Issue