We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 885a0b3 commit b7def00Copy full SHA for b7def00
sqlite_utils/utils.py
@@ -304,10 +304,7 @@ class Format(enum.Enum):
304
rows = rows_from_file(
305
fp, format=Format.CSV, dialect=csv.excel_tab, encoding=encoding
306
)[0]
307
- return (
308
- _extra_key_strategy(rows, ignore_extras, extras_key),
309
- Format.TSV,
310
- )
+ return _extra_key_strategy(rows, ignore_extras, extras_key), Format.TSV
311
elif format is None:
312
# Detect the format, then call this recursively
313
buffered = io.BufferedReader(cast(io.RawIOBase, fp), buffer_size=4096)
0 commit comments