Update GUI-Accrochage.py
This commit is contained in:
parent
419897dc27
commit
cef239e811
|
|
@ -32,7 +32,7 @@ while True:
|
||||||
elif event == "Validation":
|
elif event == "Validation":
|
||||||
stdout, stderr = run_script('validation.py')
|
stdout, stderr = run_script('validation.py')
|
||||||
if not stderr:
|
if not stderr:
|
||||||
window["-VALIDATION-RESULT-"].update("Fichier valide", text_color="lime")
|
window["-VALIDATION-RESULT-"].update("Fichier analysé, consulter le l'affichage...", text_color="lime")
|
||||||
else:
|
else:
|
||||||
window["-VALIDATION-RESULT-"].update("Erreur de validation, consulter le l'affichage...", text_color="red")
|
window["-VALIDATION-RESULT-"].update("Erreur de validation, consulter le l'affichage...", text_color="red")
|
||||||
print(stdout if stdout else stderr)
|
print(stdout if stdout else stderr)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue