mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 09:24:31 +02:00
Don't need line_buffering=True here, refs #230
This commit is contained in:
parent
8fcaee03b7
commit
1f49f32814
1 changed files with 1 additions and 1 deletions
|
|
@ -686,7 +686,7 @@ def insert_upsert_implementation(
|
|||
raise click.ClickException("--encoding must be used with --csv or --tsv")
|
||||
encoding = encoding or "utf-8"
|
||||
buffered = io.BufferedReader(json_file, buffer_size=4096)
|
||||
decoded = io.TextIOWrapper(buffered, encoding=encoding, line_buffering=True)
|
||||
decoded = io.TextIOWrapper(buffered, encoding=encoding)
|
||||
if pk and len(pk) == 1:
|
||||
pk = pk[0]
|
||||
if csv or tsv:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue