Skip to content

Commit

Permalink
Removed BASE_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
Lemon4ksan committed Aug 23, 2024
1 parent 8472a7f commit d7c0f9d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
import os
from time import sleep

BASE_DIR = os.path.dirname(__file__)

fg_colors = {
'Default': '#1c72b1',
'Green': '#15a336',
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit d7c0f9d

Please sign in to comment.