From 4953c55bc2dfe9363a6c62d075dcdc719e956e6b Mon Sep 17 00:00:00 2001 From: JayTheBusinessGoose Date: Mon, 16 Dec 2024 20:26:19 -0700 Subject: [PATCH] Ran formatter --- src/modlunky2/ui/levels/warm_welcome.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/modlunky2/ui/levels/warm_welcome.py b/src/modlunky2/ui/levels/warm_welcome.py index 382d72ee..c9d98841 100644 --- a/src/modlunky2/ui/levels/warm_welcome.py +++ b/src/modlunky2/ui/levels/warm_welcome.py @@ -22,9 +22,7 @@ def __init__(self, parent, on_open, *args, **kwargs): self.img = Image.open(IMAGE_PATH / "leveleditor.png") self.background_image = ImageTk.PhotoImage(self.img) - self.background_image_label = tk.Label( - main_frame, image=self.background_image - ) + self.background_image_label = tk.Label(main_frame, image=self.background_image) def resize_image(event): new_width = event.width @@ -37,7 +35,7 @@ def resize_image(event): self.background_image_label.image = background_image self.background_image_label.place(x=0, y=0, relwidth=1, relheight=1) - self.background_image_label.bind('', resize_image) + self.background_image_label.bind("", resize_image) self.button_open = ttk.Button(main_frame, text="Open Editor", command=on_open) self.button_open.grid(