Removed rogue print("max_csv_mb")

Found this while working on #2214
This commit is contained in:
Simon Willison 2023-12-22 15:07:42 -08:00
commit 978249beda

View file

@ -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)