message erreur
This commit is contained in:
parent
25bdd80fd8
commit
8dbe4e03db
3
main.py
3
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()
|
||||
|
Loading…
Reference in New Issue
Block a user