From 5a50bdf23ad96ac2835f5e8877bfd7d14d4fb6a6 Mon Sep 17 00:00:00 2001 From: Romain Bazile Date: Wed, 2 Jun 2021 18:39:36 +0200 Subject: [PATCH] segmenter: fix ecotaxa message (cherry picked from commit b652646682e914d66a25e03ac8c348b4234284c7) --- scripts/planktoscope/segmenter/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/planktoscope/segmenter/__init__.py b/scripts/planktoscope/segmenter/__init__.py index 742a7c8..d22b343 100644 --- a/scripts/planktoscope/segmenter/__init__.py +++ b/scripts/planktoscope/segmenter/__init__.py @@ -696,9 +696,9 @@ class SegmenterProcess(multiprocessing.Process): self.__working_obj_path, keep_files=True, ): - logger.error("The ecotaxa export could not be completed") - else: logger.succes("Ecotaxa archive export completed for this folder") + else: + logger.error("The ecotaxa export could not be completed") else: logger.info("There are no objects to export") else: