diff --git a/__pycache__/lecture_csv.cpython-310.pyc b/__pycache__/lecture_csv.cpython-310.pyc new file mode 100644 index 0000000..d182f07 Binary files /dev/null and b/__pycache__/lecture_csv.cpython-310.pyc differ diff --git a/main.py b/main.py index dfb6c61..b613381 100644 --- a/main.py +++ b/main.py @@ -45,10 +45,10 @@ class Main_frame(tk.Frame): messagebox.showerror('Erreur', 'Veuillez saisir des valeurs correctes !') if value[0] != 0 and lecture_csv.numeroJour(value[1]) != None: - value[1] = lecture_csv(value[1]) - print(value[1]) + value[1] = lecture_csv.numeroJour(value[1]) + messagebox.askokcancel("Valider", "Récap des infos") else: - messagebox.showerror('Erreur', 'Date ou nombre de voisin nuls') + messagebox.showerror('Erreur', 'Date ou nombre de voisin invalide') if __name__ == '__main__': app = tk.Tk() diff --git a/rte.png b/rte.png new file mode 100644 index 0000000..adbcef4 Binary files /dev/null and b/rte.png differ