From d7c0f9d0f37d2a0593660822a50b491cf702b916 Mon Sep 17 00:00:00 2001 From: Lemon4ksan Date: Fri, 23 Aug 2024 13:39:36 +0300 Subject: [PATCH] Removed BASE_DIR --- main.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/main.py b/main.py index ec33f3c..2682819 100644 --- a/main.py +++ b/main.py @@ -7,8 +7,6 @@ import os from time import sleep -BASE_DIR = os.path.dirname(__file__) - fg_colors = { 'Default': '#1c72b1', 'Green': '#15a336', @@ -45,7 +43,7 @@ def __init__(self): f"+{int(self.winfo_screenwidth() / 2 - 450 / 2)}" f"+{int(self.winfo_screenheight() / 2 - 250 / 2)}" ) - self.iconbitmap(os.path.join(BASE_DIR, 'App.ico')) + self.iconbitmap(os.path.join(r'.\App.ico')) self.resizable(False, False) self.stop_main_thread = False @@ -406,7 +404,6 @@ class AdvancedOptions(ctk.CTkToplevel): def __init__(self, root: App): super().__init__() self.title("Advanced Options") - self.iconbitmap(os.path.join(BASE_DIR, 'App.ico')) self.grab_set() self.geometry( f"500x300"