This commit is contained in:
cgte 2021-10-11 14:17:01 +00:00
parent 68f03eabbc
commit 588c3bf1db
2 changed files with 3 additions and 2 deletions

View File

@ -199,7 +199,7 @@ def post_sonde_data(
html = res.body.decode("utf-8")
from papi.mail_sendermodel import sendmail
cond = True
cond = False
if cond:
sendmail(html)
return {

View File

@ -56,7 +56,8 @@ def compare(channels, previous, current):
def clean_state(state):
# Ote l'identifiant en début de chaine
return state[0].split("#", 1)[1], *state[1:]
return state[0].split("#", 1)[1], state[1], '->', state[2]
def list_channels(p, c):