From 50c63e84f78cb199aafd2e2c92904d6dc9b348f9 Mon Sep 17 00:00:00 2001 From: Ben Adida <ben@adida.net> Date: Sun, 9 Feb 2014 14:11:09 -0800 Subject: [PATCH] fixed bytesio call --- helios/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helios/models.py b/helios/models.py index a4583cc..e532f92 100644 --- a/helios/models.py +++ b/helios/models.py @@ -673,7 +673,7 @@ class VoterFile(models.Model): else: content = self.voter_file_content - voter_stream = io.BytesIO(content, newline=None) + voter_stream = io.BytesIO(content) else: voter_stream = open(self.voter_file.path, "rU") -- GitLab