Skip to content

Commit

Permalink
fixed utf-8 for in-memory voter file content, I think
Browse files Browse the repository at this point in the history
  • Loading branch information
benadida committed Sep 30, 2012
1 parent 483e966 commit 2bb6ed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helios/models.py
Expand Up @@ -680,7 +680,7 @@ def process(self):

# now we're looking straight at the content
if self.voter_file_content:
voter_stream = StringIO.StringIO(self.voter_file_content)
voter_stream = StringIO.StringIO(self.voter_file_content.encode('utf-8'))
else:
voter_stream = open(self.voter_file.path, "rU")

Expand Down

0 comments on commit 2bb6ed7

Please sign in to comment.