master
parent
9e730f71b7
commit
4a1167c127
|
@ -5,8 +5,7 @@
|
|||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" 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$/main.py" beforeDir="false" afterPath="$PROJECT_DIR$/main.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/prj_common.py" beforeDir="false" afterPath="$PROJECT_DIR$/prj_common.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/ressources_humaines.py" beforeDir="false" afterPath="$PROJECT_DIR$/ressources_humaines.py" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/survey_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/survey_mgt.py" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
|
@ -76,13 +75,6 @@
|
|||
<option name="presentableId" value="Default" />
|
||||
<updated>1680804787304</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00262" summary="09/04/2024 - 15h19">
|
||||
<created>1712676544737</created>
|
||||
<option name="number" value="00262" />
|
||||
<option name="presentableId" value="LOCAL-00262" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1712676544738</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00263" summary="09/04/2024 - 23h50">
|
||||
<created>1712699498317</created>
|
||||
<option name="number" value="00263" />
|
||||
|
@ -419,7 +411,14 @@
|
|||
<option name="project" value="LOCAL" />
|
||||
<updated>1716399333865</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="311" />
|
||||
<task id="LOCAL-00311" summary="sdsqq">
|
||||
<created>1716483578232</created>
|
||||
<option name="number" value="00311" />
|
||||
<option name="presentableId" value="LOCAL-00311" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1716483578233</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="312" />
|
||||
<servers />
|
||||
</component>
|
||||
<component name="Vcs.Log.Tabs.Properties">
|
||||
|
|
2912
Log/log_file.log
2912
Log/log_file.log
File diff suppressed because it is too large
Load Diff
4
main.py
4
main.py
|
@ -9629,7 +9629,7 @@ if __name__ == '__main__':
|
|||
/!\ Dasactivé en dev pour pas consommer de ressource pr rien.
|
||||
"""
|
||||
|
||||
"""
|
||||
|
||||
scheduler = BackgroundScheduler()
|
||||
# Create the job
|
||||
scheduler.add_job(func=Flask_Cron_Strip_Get_Customer_Abonnement_Data, trigger="interval", minutes=3)
|
||||
|
@ -9643,7 +9643,7 @@ if __name__ == '__main__':
|
|||
# /!\ IMPORTANT /!\ : Shut down the scheduler when exiting the app
|
||||
atexit.register(lambda: scheduler.shutdown())
|
||||
|
||||
"""
|
||||
|
||||
app.run(host='localhost', port=MYSY_GV.MYSY_PORT_DEV, debug=True, threaded=True)
|
||||
# Create the background scheduler
|
||||
|
||||
|
|
|
@ -762,7 +762,7 @@ def Send_Survey_TabIds(diction):
|
|||
mycommon.myprint(str(inspect.stack()[0][3]) + " L'identifiant de l'inscrit est invalide ")
|
||||
return False, " L'identifiant de l'inscrit est invalide "
|
||||
|
||||
|
||||
print(" ### local_survey_retval = ",local_survey_retval)
|
||||
courrier_ref_interne = ""
|
||||
if ( "survey_type" in local_survey_retval.keys() and local_survey_retval['survey_type'] == "pos"):
|
||||
courrier_ref_interne = "QUESTION_POSITIONNEMENT"
|
||||
|
@ -770,9 +770,12 @@ def Send_Survey_TabIds(diction):
|
|||
elif ( "survey_type" in local_survey_retval.keys() and local_survey_retval['survey_type'] == "hot_eval"):
|
||||
courrier_ref_interne = "EVAL_FORMATION"
|
||||
|
||||
elif ( "survey_type" in local_survey_retval.keys() and local_survey_retval['survey_type'] == "cold_eval"):
|
||||
courrier_ref_interne = "EVAL_FORMATION"
|
||||
|
||||
else :
|
||||
mycommon.myprint(str(inspect.stack()[0][3]) + " Le type d'enquete est invalide ")
|
||||
return False, " Le type d'enquete est invalide "
|
||||
mycommon.myprint(str(inspect.stack()[0][3]) + " Le type d'enquete est invalide ")
|
||||
return False, " Le type d'enquete est invalide "
|
||||
|
||||
"""
|
||||
Recuperation du modele de courrier (unique) associé à l'envoie des questions de positionnement
|
||||
|
@ -939,6 +942,9 @@ def Send_Survey_TabIds(diction):
|
|||
elif ("survey_type" in result.keys() and result['survey_type'] == "hot_eval"):
|
||||
courrier_ref_interne = "EVAL_FORMATION"
|
||||
|
||||
elif ("survey_type" in local_survey_retval.keys() and local_survey_retval['survey_type'] == "cold_eval"):
|
||||
courrier_ref_interne = "EVAL_FORMATION"
|
||||
|
||||
else:
|
||||
mycommon.myprint(str(inspect.stack()[0][3]) + " Le type d'enquete est invalide ")
|
||||
return False, " Le type d'enquete est invalide "
|
||||
|
|
Loading…
Reference in New Issue