Update sandbox/grist/imports/import_csv.py

Co-authored-by: Alex Hall <alex.mojaki@gmail.com>
pull/265/head
Yohan Boniface 2 years ago committed by GitHub
parent 57c8f9f4fe
commit ce31d1632d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save