15/11/2023 - 17h

master
cherif 2023-11-15 17:31:46 +01:00
parent 1d973fe0a3
commit 9be165de0f
4 changed files with 2627 additions and 16 deletions

View File

@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="14/11/2023 - 20h">
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="15/11/2023 - 12h">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/GlobalVariable.py" beforeDir="false" afterPath="$PROJECT_DIR$/GlobalVariable.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Log/log_file.log" beforeDir="false" afterPath="$PROJECT_DIR$/Log/log_file.log" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Session_Formation.py" beforeDir="false" afterPath="$PROJECT_DIR$/Session_Formation.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/class_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/class_mgt.py" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -75,13 +75,6 @@
<option name="presentableId" value="Default" />
<updated>1680804787304</updated>
</task>
<task id="LOCAL-00100" summary="08/09/2023 - 18h30">
<created>1694191147617</created>
<option name="number" value="00100" />
<option name="presentableId" value="LOCAL-00100" />
<option name="project" value="LOCAL" />
<updated>1694191147618</updated>
</task>
<task id="LOCAL-00101" summary="11/09/23 - 12h30">
<created>1694428238749</created>
<option name="number" value="00101" />
@ -418,7 +411,14 @@
<option name="project" value="LOCAL" />
<updated>1699990605959</updated>
</task>
<option name="localTasksCounter" value="149" />
<task id="LOCAL-00149" summary="15/11/2023 - 12h">
<created>1700048355648</created>
<option name="number" value="00149" />
<option name="presentableId" value="LOCAL-00149" />
<option name="project" value="LOCAL" />
<updated>1700048355648</updated>
</task>
<option name="localTasksCounter" value="150" />
<servers />
</component>
<component name="Vcs.Log.Tabs.Properties">
@ -433,7 +433,6 @@
</option>
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="02/10/2023 - 22h30" />
<MESSAGE value="03/10/2023 - 21h40" />
<MESSAGE value="04/10/2023 - 21h40" />
<MESSAGE value="06/10/2023 - 21h40" />
@ -458,6 +457,7 @@
<MESSAGE value="13/11/2023 - 22h30" />
<MESSAGE value="14/11/2023 - 12h" />
<MESSAGE value="14/11/2023 - 20h" />
<option name="LAST_COMMIT_MESSAGE" value="14/11/2023 - 20h" />
<MESSAGE value="15/11/2023 - 12h" />
<option name="LAST_COMMIT_MESSAGE" value="15/11/2023 - 12h" />
</component>
</project>

File diff suppressed because it is too large Load Diff

View File

@ -173,7 +173,7 @@ def Add_Update_SessionFormation(diction):
formateur_id = ""
if ("formateur_id" in diction.keys()):
if ("formateur_id" in diction.keys() and diction['formateur_id']):
formateur_id = diction['formateur_id']
# Verification de la validité du formateur (collection employé)
is_formateur_id_ok = MYSY_GV.dbname['ressource_humaine'].count_documents({'_id':ObjectId(str(formateur_id)),

View File

@ -185,7 +185,7 @@ def add_class(diction):
"""
if(len(str(class_internal_url_source)) > 0 and class_source == "mysy_lms"):
mydata['internal_url'] = class_internal_url_source
print(" ### Il s'agit class_internal_url_source = ", class_internal_url_source, " ### class_source = ", class_source)
#print(" ### Il s'agit class_internal_url_source = ", class_internal_url_source, " ### class_source = ", class_source)
if ("external_code" in diction.keys()):
@ -209,7 +209,7 @@ def add_class(diction):
mydata['class_inscription_url'] = diction['class_inscription_url']
formateur_id = ""
if ("formateur_id" in diction.keys()):
if ("formateur_id" in diction.keys() and diction['formateur_id']):
formateur_id = diction['formateur_id']
# Verification de la validité du formateur (collection employé)
is_formateur_id_ok = MYSY_GV.dbname['ressource_humaine'].count_documents(
@ -649,7 +649,7 @@ def update_class(diction):
mydata['source'] = diction['source']
formateur_id = ""
if ("formateur_id" in diction.keys()):
if ("formateur_id" in diction.keys() and diction['formateur_id']):
formateur_id = diction['formateur_id']
# Verification de la validité du formateur (collection employé)
is_formateur_id_ok = MYSY_GV.dbname['ressource_humaine'].count_documents(