Skip to content

Commit 2a62aec

Browse files
committed
Fix "Open theme" button double path concat
1 parent 50eb931 commit 2a62aec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configure.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,9 +456,9 @@ def on_weatherping_click(self):
456456
self.more_config_window.show()
457457

458458
def on_open_theme_folder_click(self):
459-
path = f'"{MAIN_DIRECTORY}res/themes"'
459+
path = f'{MAIN_DIRECTORY}res/themes'
460460
if platform.system() == "Windows":
461-
os.startfile(path)
461+
os.startfile(f'"{path}"')
462462
elif platform.system() == "Darwin":
463463
subprocess.Popen(["open", path])
464464
else:

0 commit comments

Comments
 (0)