From ce31d1632d794b70c52c9ce83449e5da5ecac8cb Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Tue, 20 Sep 2022 17:34:41 +0200 Subject: [PATCH] Update sandbox/grist/imports/import_csv.py Co-authored-by: Alex Hall --- sandbox/grist/imports/import_csv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sandbox/grist/imports/import_csv.py b/sandbox/grist/imports/import_csv.py index a6ddd734..e71851f7 100644 --- a/sandbox/grist/imports/import_csv.py +++ b/sandbox/grist/imports/import_csv.py @@ -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)