diff --git a/main.py b/main.py index 8601458..e6e2f75 100644 --- a/main.py +++ b/main.py @@ -8,7 +8,7 @@ import textwrap import time import uuid import tkinter -from datetime import datetime +from datetime import datetime import tkinter.filedialog from tkinter import * @@ -24,7 +24,7 @@ from auto_update import * from class_debitors import * from version import * -#test master 2 + src_dir = os.getenv('APPDATA') + "\Attrib2Biz\src" dest_dir = os.getenv('APPDATA') + "\Attrib2Biz\output" @@ -60,10 +60,10 @@ class SuggestionPopup(Toplevel): self.columnconfigure(0, weight=1) self.columnconfigure(1, weight=1) - lbf_new = LabelFrame(self, text="Nouveau patient") + lbf_new = LabelFrame(self, text="Données Attrib") lbf_new.grid(row=0, column=0, sticky='WE', padx=5, pady=5) - lbf_old = LabelFrame(self, text="Ancien patient") + lbf_old = LabelFrame(self, text="Données Winbiz") lbf_old.grid(row=0, column=1, sticky='NSEW', padx=5, pady=5) str_address_1 = "" @@ -105,7 +105,7 @@ class SuggestionPopup(Toplevel): self.btn = Button(self, text="Valider", command=self.select) self.btn.grid(row=2,columnspan=2 , pady=10,padx=10, sticky='NSEW') - for (idd, info) in ((0, "Ancienne"), (1, "Nouvelle")) : + for (idd, info) in ((0, "Winbiz"), (1, "Attrib")) : self.listbox.insert(END, info) if int(debitor["code"]) >= 100: @@ -154,7 +154,7 @@ class SuggestionPopup(Toplevel): selection = self.listbox.curselection() if selection: self.selection = self.listbox.get(selection[0]) - self.selection = True if self.selection == "Nouvelle" else False + self.selection = True if self.selection == "Attrib" else False self.destroy() if self.no_selection_possible: self.destroy()