From 35b5cdab4d2b87d024bd80b9b09b82eab7c3b4aa Mon Sep 17 00:00:00 2001 From: Ben Adida <ben@adida.net> Date: Thu, 7 Oct 2021 12:03:41 +0000 Subject: [PATCH] try U --- helios/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helios/models.py b/helios/models.py index fbd3f19..acb73ba 100644 --- a/helios/models.py +++ b/helios/models.py @@ -759,7 +759,7 @@ class VoterFile(models.Model): voter_stream = io.BytesIO(content) else: close = True - voter_stream = open(self.voter_file.path, "rb") + voter_stream = open(self.voter_file.path, "U") #reader = unicode_csv_reader(voter_stream) reader = unicodecsv.reader(voter_stream, encoding='utf-8') -- GitLab