make SassAsyncMiddleware return after handling SASS
This commit is contained in:
parent
3edf8d37b5
commit
e370172826
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue