mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
Update sandbox/grist/imports/import_csv.py
Co-authored-by: Alex Hall <alex.mojaki@gmail.com>
This commit is contained in:
parent
57c8f9f4fe
commit
ce31d1632d
@ -96,7 +96,7 @@ def parse_file(file_path, parse_options=None):
|
||||
# In addition, always prefer UTF8 over ASCII.
|
||||
if encoding == 'ascii':
|
||||
encoding = 'utf8'
|
||||
log.info("Using encoding %s" % encoding)
|
||||
log.info("Using encoding %s", encoding)
|
||||
|
||||
with codecs.open(file_path, mode="r", encoding=encoding) as f:
|
||||
parsing_options, export_list = _parse_open_file(f, parse_options=parse_options)
|
||||
|
Loading…
Reference in New Issue
Block a user