change extention save file

This commit is contained in:
vincent 2018-08-18 17:23:20 +02:00
parent c239d97394
commit df6327fe73
2 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
chaine.json
*.json

View File

@ -158,7 +158,7 @@ class EtageresUI(Tk):
Button(framecontrol, text="remove etagere",
command=self.click_remove_etagere).pack()
Button(framecontrol, text="save",
command=lambda: self.etageres.save_etageres("cave")).pack()
command=lambda: self.etageres.save_etageres("cave.json")).pack()
self.etagere_frame.grid(column=1, row=1)
self.mainframe.grid()
@ -301,4 +301,4 @@ class BouteilleUI(Button):
# print(new.couleur)
EtageresUI(Etageres.load_etageres("cave")).mainloop()
EtageresUI(Etageres.load_etageres("cave.json")).mainloop()