Spaces:
Runtime error
Runtime error
Commit
•
7d5ff0e
1
Parent(s):
7cb2fc2
Used file not name
Browse files- src/visualize_logs.py +1 -1
src/visualize_logs.py
CHANGED
@@ -3,7 +3,7 @@ from rich.console import Console
|
|
3 |
from rich.syntax import Syntax
|
4 |
from pathlib import Path
|
5 |
|
6 |
-
proj_dir = Path(
|
7 |
|
8 |
def log_file_to_html_string():
|
9 |
log_file = proj_dir/"mylog.log"
|
|
|
3 |
from rich.syntax import Syntax
|
4 |
from pathlib import Path
|
5 |
|
6 |
+
proj_dir = Path(__file__).parents[1]
|
7 |
|
8 |
def log_file_to_html_string():
|
9 |
log_file = proj_dir/"mylog.log"
|