hagras commited on
Commit
7057892
·
verified ·
1 Parent(s): 6bb103d

Update server.py

Browse files
Files changed (1) hide show
  1. server.py +2 -0
server.py CHANGED
@@ -578,7 +578,9 @@ def load(request: Request, filename: str):
578
  if not idx_file.exists():
579
  return _redirect_with_flash(request, "Document index not found.")
580
 
 
581
  with open(idx_file, "r", encoding="utf-8") as f:
 
582
  return HTMLResponse(f.read())
583
 
584
 
 
578
  if not idx_file.exists():
579
  return _redirect_with_flash(request, "Document index not found.")
580
 
581
+ logger.info(f"{filename}")
582
  with open(idx_file, "r", encoding="utf-8") as f:
583
+ logger.info(f"{f.read()}")
584
  return HTMLResponse(f.read())
585
 
586