diff --git a/src/routes/wallpaper.py b/src/routes/wallpaper.py index 5ac0b4d..2618f92 100644 --- a/src/routes/wallpaper.py +++ b/src/routes/wallpaper.py @@ -65,7 +65,7 @@ async def wallpaper(request: Request, day): Returns: HTMLResponse: The wallpaper page or 404 error page. """ - res = requests.get('https://api.starlio.space/wallpaper/{day}', timeout=3) + res = requests.get(f'https://api.starlio.space/wallpaper/{day}', timeout=3) if (HTTPStatus(res.status_code).is_server_error or HTTPStatus(res.status_code).is_client_error