From 8dbe4e03db7727a37bfa5c01f06c4aa2233b5f1a Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 25 Jul 2024 14:49:15 +0200 Subject: [PATCH] message erreur --- main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.py b/main.py index b2afbe4..08b6537 100644 --- a/main.py +++ b/main.py @@ -218,8 +218,7 @@ def traitement(paramFiligramme): return {"result": "processed data with filigramme: " + filigramme} except: - print(f"Aucune image à taguer") - return {"Aucune image à taguer"} + return {"result": "Aucune image à taguer"} def main(): # Creation du répertoire sources pour mettre les documents create_original_files_directory()