parent
98b7f7c771
commit
0b9634ccc5
|
@ -4,11 +4,10 @@
|
|||
<option name="autoReloadType" value="SELECTIVE" />
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="20/06/2025 -18h">
|
||||
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="ss">
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/Job_Cron.py" beforeDir="false" afterPath="$PROJECT_DIR$/Job_Cron.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$/survey_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/survey_mgt.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/Session_Formation.py" beforeDir="false" afterPath="$PROJECT_DIR$/Session_Formation.py" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
|
@ -450,7 +449,7 @@
|
|||
<option name="project" value="LOCAL" />
|
||||
<updated>1747251650255</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="478" />
|
||||
<option name="localTasksCounter" value="479" />
|
||||
<servers />
|
||||
</component>
|
||||
<component name="Vcs.Log.Tabs.Properties">
|
||||
|
@ -492,7 +491,6 @@
|
|||
</option>
|
||||
</component>
|
||||
<component name="VcsManagerConfiguration">
|
||||
<MESSAGE value="02/05/2025 - 20h" />
|
||||
<MESSAGE value="03/05/2025 - 20h" />
|
||||
<MESSAGE value="05/05/2025 - 20h" />
|
||||
<MESSAGE value="06/05/2025 - 20h" />
|
||||
|
@ -517,6 +515,7 @@
|
|||
<MESSAGE value="qsd" />
|
||||
<MESSAGE value="19/06/2025 -18h" />
|
||||
<MESSAGE value="20/06/2025 -18h" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="20/06/2025 -18h" />
|
||||
<MESSAGE value="ss" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="ss" />
|
||||
</component>
|
||||
</project>
|
12942
Log/log_file.log
12942
Log/log_file.log
File diff suppressed because it is too large
Load Diff
|
@ -546,16 +546,14 @@ def Add_Update_SessionFormation(diction):
|
|||
# Etape 1 : recuperation du code session en base
|
||||
local_retval1 = MYSY_GV.dbname['session_formation'].find_one({'_id':ObjectId(str(session_id))})
|
||||
|
||||
if( local_retval1 is None or 'code_session' not in local_retval1.keys() or 'class_id' not in local_retval1.keys() ):
|
||||
if( local_retval1 is None or 'code_session' not in local_retval1.keys() or 'class_internal_url' not in local_retval1.keys() ):
|
||||
mycommon.myprint(str(inspect.stack()[0][3]) + " - Cette session n'as pas de code session ")
|
||||
return False, "Impossible de récupérer le code de La promotion (1) "
|
||||
|
||||
existing_session_code = local_retval1['code_session']
|
||||
existing_class_id = local_retval1['class_id']
|
||||
current_step = local_retval1['session_etape']
|
||||
|
||||
local_retval = MYSY_GV.dbname['inscription'].count_documents({'session_id':str(existing_session_code),
|
||||
'class_id':str(existing_class_id)})
|
||||
local_retval = MYSY_GV.dbname['inscription'].count_documents({'session_id':str(existing_session_code),})
|
||||
|
||||
if( local_retval > 0):
|
||||
mycommon.myprint(str(inspect.stack()[0][3]) + " - Cette session a déjà des inscriptions. Le code de La promotion ne peut etre modifié. Les autres champs ont été correctement mis à jour")
|
||||
|
|
Loading…
Reference in New Issue