Envoyer l'info que le traitement est terminé à l'IHM

This commit is contained in:
Sdj Geek 2020-07-28 16:50:35 +02:00
parent 8856641003
commit 87093bc92c
1 changed files with 2 additions and 1 deletions

View File

@ -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__":