We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fd78e2 commit 0acbc68Copy full SHA for 0acbc68
sqlite_utils/cli.py
@@ -958,7 +958,9 @@ def insert_upsert_implementation(
958
if sniff:
959
# Read first 2048 bytes and use that to detect
960
first_bytes = sniff_buffer.peek(2048)
961
- dialect = csv_std.Sniffer().sniff(first_bytes.decode(encoding, "ignore"))
+ dialect = csv_std.Sniffer().sniff(
962
+ first_bytes.decode(encoding, "ignore")
963
+ )
964
else:
965
dialect = "excel-tab" if tsv else "excel"
966
csv_reader_args = {"dialect": dialect}
0 commit comments