Skip to content
Snippets Groups Projects
Commit 50c63e84 authored by Ben Adida's avatar Ben Adida
Browse files

fixed bytesio call

parent 6ef64cf2
No related branches found
No related tags found
No related merge requests found
...@@ -673,7 +673,7 @@ class VoterFile(models.Model): ...@@ -673,7 +673,7 @@ class VoterFile(models.Model):
else: else:
content = self.voter_file_content content = self.voter_file_content
voter_stream = io.BytesIO(content, newline=None) voter_stream = io.BytesIO(content)
else: else:
voter_stream = open(self.voter_file.path, "rU") voter_stream = open(self.voter_file.path, "rU")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment