12/08/23 - 12h
parent
50ed7974e4
commit
bfb3df993d
|
@ -1,10 +1,8 @@
|
|||
<?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="10/08/23 - 16h">
|
||||
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="11/08/23 - 16h">
|
||||
<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$/Inscription_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/Inscription_mgt.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" />
|
||||
</list>
|
||||
|
@ -70,13 +68,6 @@
|
|||
<option name="presentableId" value="Default" />
|
||||
<updated>1680804787304</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00015" summary="28/04/23 - 21h">
|
||||
<created>1682714699263</created>
|
||||
<option name="number" value="00015" />
|
||||
<option name="presentableId" value="LOCAL-00015" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1682714699263</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00016" summary="29/04/23 - 21h">
|
||||
<created>1682792543419</created>
|
||||
<option name="number" value="00016" />
|
||||
|
@ -413,7 +404,14 @@
|
|||
<option name="project" value="LOCAL" />
|
||||
<updated>1691675826292</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="64" />
|
||||
<task id="LOCAL-00064" summary="11/08/23 - 16h">
|
||||
<created>1691772404815</created>
|
||||
<option name="number" value="00064" />
|
||||
<option name="presentableId" value="LOCAL-00064" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1691772404815</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="65" />
|
||||
<servers />
|
||||
</component>
|
||||
<component name="Vcs.Log.Tabs.Properties">
|
||||
|
@ -428,7 +426,6 @@
|
|||
</option>
|
||||
</component>
|
||||
<component name="VcsManagerConfiguration">
|
||||
<MESSAGE value="05/07/23 - 12h" />
|
||||
<MESSAGE value="05/07/23 - 20h" />
|
||||
<MESSAGE value="08/07/23 - 20h" />
|
||||
<MESSAGE value="09/07/23 - 16h" />
|
||||
|
@ -453,6 +450,7 @@
|
|||
<MESSAGE value="08/08/2023 - 16h" />
|
||||
<MESSAGE value="09/08/2023 - 21h" />
|
||||
<MESSAGE value="10/08/23 - 16h" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="10/08/23 - 16h" />
|
||||
<MESSAGE value="11/08/23 - 16h" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="11/08/23 - 16h" />
|
||||
</component>
|
||||
</project>
|
2496
Log/log_file.log
2496
Log/log_file.log
File diff suppressed because it is too large
Load Diff
|
@ -58,7 +58,7 @@ def Add_Update_SessionFormation(diction):
|
|||
"""
|
||||
Verification de la liste des champs obligatoires
|
||||
"""
|
||||
field_list_obligatoire = ['token', 'formation_session_id', 'class_internal_url','code_session']
|
||||
field_list_obligatoire = ['token', 'class_internal_url','code_session']
|
||||
|
||||
for val in field_list_obligatoire:
|
||||
if val not in diction:
|
||||
|
@ -348,7 +348,8 @@ def Add_Update_SessionFormation(diction):
|
|||
ret_val = coll_name.insert_one(mydata)
|
||||
|
||||
|
||||
if (ret_val is None or '_id' not in ret_val.keys()):
|
||||
|
||||
if (ret_val is None or not hasattr(ret_val, 'inserted_id') ):
|
||||
mycommon.myprint(
|
||||
str(inspect.stack()[0][3]) + " Impossible d'ajouter la session '" + str(
|
||||
diction['code_session']) + "' ")
|
||||
|
|
Loading…
Reference in New Issue