AstraOS commited on
Commit
37f6fb1
Β·
verified Β·
1 Parent(s): 6805cfc

Update telegram_preview.py

Browse files
Files changed (1) hide show
  1. telegram_preview.py +1 -1
telegram_preview.py CHANGED
@@ -19,7 +19,7 @@ from fastapi.responses import HTMLResponse, StreamingResponse
19
  from fastapi.templating import Jinja2Templates
20
 
21
  # ─── Locate templates folder absolute path ────────────────────────────────────
22
- BASE_DIR = pathlib.Path(__file__).resolve().parent
23
  templates = Jinja2Templates(directory=str(BASE_DIR / "templates"))
24
 
25
 
 
19
  from fastapi.templating import Jinja2Templates
20
 
21
  # ─── Locate templates folder absolute path ────────────────────────────────────
22
+ BASE_DIR = Path(__file__).resolve().parent
23
  templates = Jinja2Templates(directory=str(BASE_DIR / "templates"))
24
 
25