Removed unused variable

This commit is contained in:
Simon Willison 2019-07-11 09:14:24 -07:00
commit cc27857c72

View file

@ -311,7 +311,6 @@ def asgi_static(root_path, chunk_size=4096, headers=None, content_type=None):
except ValueError:
await asgi_send_html(send, "404", 404)
return
first = True
try:
await asgi_send_file(send, full_path, chunk_size=chunk_size)
except FileNotFoundError: