make settings persistent

This commit is contained in:
Xaloc 2020-05-13 01:25:58 +02:00
parent 05bad3c7b2
commit 64e7f83caf

View File

@ -7,8 +7,9 @@ cpusVar = tk.StringVar(w)
cycVar = tk.StringVar(w)
N_tsVar = tk.StringVar(w)
T_cycVar = tk.StringVar(w)
settings = 0
settings=[]
def getvars():
global settings
p_name = p_nameVar.get()
cpus = cpusVar.get()
cyc = cycVar.get()
@ -36,3 +37,5 @@ button = tk.Button(w, text="Get vars", command=getvars).grid(row=5)
w.mainloop()
print(settings)