Commit d70c0912 authored by Nicolas Joyard's avatar Nicolas Joyard

Fix encoding importer emails

parent c99a6ac5
......@@ -35,7 +35,7 @@ class EmailImporter(BaseImporter):
erreurs = 0
changes = 0
with open(join(self.app.config['DATA_DIR'], 'emails.csv'),
newline='') as csvfile:
newline='', encoding='utf-8') as csvfile:
reader = csv.DictReader(csvfile, delimiter=';')
for row in reader:
try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment