make SassAsyncMiddleware return after handling SASS

This commit is contained in:
Yusur 2025-08-10 11:51:42 +02:00
parent 3edf8d37b5
commit e370172826

View file

@ -114,6 +114,8 @@ class SassAsyncMiddleware(_MiddlewareFactory):
'body': resp_body
})
return
async def _read_file(path):
with open(path, 'rb') as f:
while True:
@ -143,6 +145,8 @@ class SassAsyncMiddleware(_MiddlewareFactory):
'body': resp_body
})
return
await self.app(scope, receive, send)