mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-14 08:18:36 +00:00
Hotfix: GUI log window failure due to incorrect path
This commit is contained in:
1 parent
7445bbcc42
commit
4bcda6ef1f
1 file changed
+3
-1
@@ -11,6 +11,8 @@ from enum import Enum, auto
|
||||
from pathlib import Path
|
||||
from typing import Literal
|
||||
|
||||
from serena import constants
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@@ -218,7 +220,7 @@ class GuiLogViewer:
|
||||
self.root.rowconfigure(0, weight=0) # Logo row
|
||||
self.root.rowconfigure(1, weight=1) # Text content row
|
||||
|
||||
dashboard_path = Path(__file__).parent.parent.parent / "dashboard"
|
||||
dashboard_path = Path(constants.SERENA_DASHBOARD_DIR)
|
||||
|
||||
# Load and display the logo image
|
||||
try:
|
||||
|
||||
Reference in new issue
Block a user