From 12af0cee8de9c43fe62664774128cfb79e70fb47 Mon Sep 17 00:00:00 2001 From: Brennen Raimer <5969754+norweeg@users.noreply.github.com> Date: Mon, 17 Mar 2025 23:15:08 -0400 Subject: [PATCH] cleanup some formatting and some stuff I accidentally left in --- iwii_photobooth.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/iwii_photobooth.py b/iwii_photobooth.py index 16661fa..226a0fa 100644 --- a/iwii_photobooth.py +++ b/iwii_photobooth.py @@ -43,9 +43,8 @@ def handle_action_exceptions(func: Callable): @handle_action_exceptions def open_preview(event: tk.Event): - globals()["ev"] = event - file=filedialog.askopenfilename( - #parent=event.widget.master, + file = filedialog.askopenfilename( + parent=event.widget.master, title="Open Image", initialdir=Path.home(), filetypes=[