From fb54ca482603da4e5353b3061bb05c12981a1bba Mon Sep 17 00:00:00 2001 From: Adam Saudagar Date: Sun, 12 Feb 2023 03:00:43 +0530 Subject: [PATCH] fixed crash in 3.11 on first launch --- fishy/gui/terms_gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fishy/gui/terms_gui.py b/fishy/gui/terms_gui.py index 4276f4a..a27a5c2 100644 --- a/fishy/gui/terms_gui.py +++ b/fishy/gui/terms_gui.py @@ -40,7 +40,7 @@ def _run_terms_window(): root.image = ImageTk.PhotoImage(root.image) canvas.create_image(0, 0, anchor=tk.NW, image=root.image) - check_value = tk.IntVar(0) + check_value = tk.IntVar() g1 = ttk.Frame(f) ttk.Checkbutton(g1, command=disable_enable_button, variable=check_value).pack(side=tk.LEFT)