change extention save file
This commit is contained in:
parent
c239d97394
commit
df6327fe73
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
chaine.json
|
||||
*.json
|
||||
|
4
cave.py
4
cave.py
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user