Envoyer l'info que le traitement est terminé à l'IHM
This commit is contained in:
parent
8856641003
commit
87093bc92c
|
@ -17,7 +17,7 @@ from bdd_insee import BddInsee
|
||||||
from site_eglise import SiteEglise
|
from site_eglise import SiteEglise
|
||||||
|
|
||||||
|
|
||||||
def default_tracker(step=None, text=None, set_max=None):
|
def default_tracker(step=None, text=None, set_max=None, running=None):
|
||||||
if text:
|
if text:
|
||||||
print(text)
|
print(text)
|
||||||
|
|
||||||
|
@ -65,6 +65,7 @@ def trouver_decedes(chemin_base_donnees, numeros_unites, chemin_repertoire_sorti
|
||||||
tracker(text=text)
|
tracker(text=text)
|
||||||
out_file.write(text)
|
out_file.write(text)
|
||||||
tracker(step=1)
|
tracker(step=1)
|
||||||
|
tracker(running=False)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Reference in New Issue