segmenter: fix ecotaxa message

(cherry picked from commit b652646682e914d66a25e03ac8c348b4234284c7)
This commit is contained in:
Romain Bazile 2021-06-02 18:39:36 +02:00 committed by Romain Bazile
parent c0f3c2f439
commit 5a50bdf23a

View file

@ -696,9 +696,9 @@ class SegmenterProcess(multiprocessing.Process):
self.__working_obj_path, self.__working_obj_path,
keep_files=True, keep_files=True,
): ):
logger.error("The ecotaxa export could not be completed")
else:
logger.succes("Ecotaxa archive export completed for this folder") logger.succes("Ecotaxa archive export completed for this folder")
else:
logger.error("The ecotaxa export could not be completed")
else: else:
logger.info("There are no objects to export") logger.info("There are no objects to export")
else: else: