kopia lustrzana https://github.com/simonw/datasette
Removed unused variable
rodzic
74ecf8a7cc
commit
cc27857c72
|
@ -311,7 +311,6 @@ def asgi_static(root_path, chunk_size=4096, headers=None, content_type=None):
|
||||||
except ValueError:
|
except ValueError:
|
||||||
await asgi_send_html(send, "404", 404)
|
await asgi_send_html(send, "404", 404)
|
||||||
return
|
return
|
||||||
first = True
|
|
||||||
try:
|
try:
|
||||||
await asgi_send_file(send, full_path, chunk_size=chunk_size)
|
await asgi_send_file(send, full_path, chunk_size=chunk_size)
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
|
|
Ładowanie…
Reference in New Issue