From 79dc32815221bc852cdcdeb3417a3d1c784ca64b Mon Sep 17 00:00:00 2001 From: vincentsarago Date: Thu, 17 Oct 2024 21:43:18 +0200 Subject: [PATCH] format --- tipg/main.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tipg/main.py b/tipg/main.py index 88fdc43..a98186e 100644 --- a/tipg/main.py +++ b/tipg/main.py @@ -101,10 +101,7 @@ async def lifespan(app: FastAPI): ) app.add_middleware(CacheControlMiddleware, cachecontrol=settings.cachecontrol) -app.add_middleware( - CompressionMiddleware, - compression_level=6, -) +app.add_middleware(CompressionMiddleware, compression_level=6) if settings.catalog_ttl: app.add_middleware(