derek-thomas HF staff commited on
Commit
7d5ff0e
1 Parent(s): 7cb2fc2

Used file not name

Browse files
Files changed (1) hide show
  1. 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(__name__).parents[1]
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"