diff --git a/ipserv.py b/ipserv.py index 6a362ea..c1f789e 100644 --- a/ipserv.py +++ b/ipserv.py @@ -10,7 +10,7 @@ from contextlib import asynccontextmanager logging.basicConfig(level=logging.INFO) -@asynccontextmanager() +@asynccontextmanager async def lifespan(_app: FastAPI): async with aiohttp.ClientSession( "https://ip.shronk.tech",