Skip to content

Commit

Permalink
Removed rogue print("max_csv_mb")
Browse files Browse the repository at this point in the history
Found this while working on #2214
  • Loading branch information
simonw committed Dec 22, 2023
1 parent 4284c74 commit 978249b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion datasette/views/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 978249b

Please sign in to comment.