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$/.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$/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$/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$/survey_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/survey_mgt.py" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/ressources_humaines.py" beforeDir="false" afterPath="$PROJECT_DIR$/ressources_humaines.py" afterDir="false" />
|
|
||||||
</list>
|
</list>
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
|
@ -76,13 +75,6 @@
|
||||||
<option name="presentableId" value="Default" />
|
<option name="presentableId" value="Default" />
|
||||||
<updated>1680804787304</updated>
|
<updated>1680804787304</updated>
|
||||||
</task>
|
</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">
|
<task id="LOCAL-00263" summary="09/04/2024 - 23h50">
|
||||||
<created>1712699498317</created>
|
<created>1712699498317</created>
|
||||||
<option name="number" value="00263" />
|
<option name="number" value="00263" />
|
||||||
|
@ -419,7 +411,14 @@
|
||||||
<option name="project" value="LOCAL" />
|
<option name="project" value="LOCAL" />
|
||||||
<updated>1716399333865</updated>
|
<updated>1716399333865</updated>
|
||||||
</task>
|
</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 />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
<component name="Vcs.Log.Tabs.Properties">
|
<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.
|
/!\ Dasactivé en dev pour pas consommer de ressource pr rien.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
"""
|
|
||||||
scheduler = BackgroundScheduler()
|
scheduler = BackgroundScheduler()
|
||||||
# Create the job
|
# Create the job
|
||||||
scheduler.add_job(func=Flask_Cron_Strip_Get_Customer_Abonnement_Data, trigger="interval", minutes=3)
|
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
|
# /!\ IMPORTANT /!\ : Shut down the scheduler when exiting the app
|
||||||
atexit.register(lambda: scheduler.shutdown())
|
atexit.register(lambda: scheduler.shutdown())
|
||||||
|
|
||||||
"""
|
|
||||||
app.run(host='localhost', port=MYSY_GV.MYSY_PORT_DEV, debug=True, threaded=True)
|
app.run(host='localhost', port=MYSY_GV.MYSY_PORT_DEV, debug=True, threaded=True)
|
||||||
# Create the background scheduler
|
# 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 ")
|
mycommon.myprint(str(inspect.stack()[0][3]) + " L'identifiant de l'inscrit est invalide ")
|
||||||
return False, " 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 = ""
|
courrier_ref_interne = ""
|
||||||
if ( "survey_type" in local_survey_retval.keys() and local_survey_retval['survey_type'] == "pos"):
|
if ( "survey_type" in local_survey_retval.keys() and local_survey_retval['survey_type'] == "pos"):
|
||||||
courrier_ref_interne = "QUESTION_POSITIONNEMENT"
|
courrier_ref_interne = "QUESTION_POSITIONNEMENT"
|
||||||
|
@ -770,6 +770,9 @@ def Send_Survey_TabIds(diction):
|
||||||
elif ( "survey_type" in local_survey_retval.keys() and local_survey_retval['survey_type'] == "hot_eval"):
|
elif ( "survey_type" in local_survey_retval.keys() and local_survey_retval['survey_type'] == "hot_eval"):
|
||||||
courrier_ref_interne = "EVAL_FORMATION"
|
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 :
|
else :
|
||||||
mycommon.myprint(str(inspect.stack()[0][3]) + " 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 "
|
return False, " Le type d'enquete est invalide "
|
||||||
|
@ -939,6 +942,9 @@ def Send_Survey_TabIds(diction):
|
||||||
elif ("survey_type" in result.keys() and result['survey_type'] == "hot_eval"):
|
elif ("survey_type" in result.keys() and result['survey_type'] == "hot_eval"):
|
||||||
courrier_ref_interne = "EVAL_FORMATION"
|
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:
|
else:
|
||||||
mycommon.myprint(str(inspect.stack()[0][3]) + " 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 "
|
return False, " Le type d'enquete est invalide "
|
||||||
|
|
Loading…
Reference in New Issue