mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 09:24:31 +02:00
More consistent indentation
This commit is contained in:
parent
885a0b321d
commit
b7def00b8c
1 changed files with 1 additions and 4 deletions
|
|
@ -304,10 +304,7 @@ def rows_from_file(
|
|||
rows = rows_from_file(
|
||||
fp, format=Format.CSV, dialect=csv.excel_tab, encoding=encoding
|
||||
)[0]
|
||||
return (
|
||||
_extra_key_strategy(rows, ignore_extras, extras_key),
|
||||
Format.TSV,
|
||||
)
|
||||
return _extra_key_strategy(rows, ignore_extras, extras_key), Format.TSV
|
||||
elif format is None:
|
||||
# Detect the format, then call this recursively
|
||||
buffered = io.BufferedReader(cast(io.RawIOBase, fp), buffer_size=4096)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue