diff --git a/articles_avis.py b/articles_avis.py
index 6cbaaa4..6f6341c 100644
--- a/articles_avis.py
+++ b/articles_avis.py
@@ -187,7 +187,7 @@ def get_articles_avis(diction):
for x in coll_name.find({'valide': '1', 'locked': '0', '_id':ObjectId(my_internal_id)},
{ "indexed": 0, "indexed_desc": 0, "indexed_obj": 0, "indexed_title": 0,
- "valide": 0, "locked": 0, "url_formation": 0, }).sort([("title_formation",pymongo.ASCENDING),
+ "valide": 0, "locked": 0, }).sort([("title_formation",pymongo.ASCENDING),
("date_avis",pymongo.ASCENDING),
("note", pymongo.DESCENDING),
]) :
@@ -362,8 +362,9 @@ def add_articles_avis(diction):
mydata['valide'] = '0'
mydata['locked'] = '1'
mydata['indexed'] = '0'
+ mydata['indexed'] = '0'
mydata['date_update'] = str(datetime.now())
- mydata['date_avis'] = str(datetime.now())
+ mydata['isalaune'] = "0"
print(mydata)
diff --git a/email_mgt.py b/email_mgt.py
index 1f07f7d..84b3760 100644
--- a/email_mgt.py
+++ b/email_mgt.py
@@ -227,7 +227,7 @@ def send_user_init_pwd_mail(token, account_mail):