Removed rogue print("max_csv_mb")

Found this while working on #2214
pull/2222/head
Simon Willison 2023-12-22 15:07:42 -08:00
rodzic 4284c74bc1
commit 978249beda
1 zmienionych plików z 0 dodań i 1 usunięć

Wyświetl plik

@ -484,7 +484,6 @@ async def stream_csv(datasette, fetch_data, request, database):
async def stream_fn(r):
nonlocal data, trace
print("max_csv_mb", datasette.setting("max_csv_mb"))
limited_writer = LimitedWriter(r, datasette.setting("max_csv_mb"))
if trace:
await limited_writer.write(preamble)