Skip to content
Snippets Groups Projects
Commit ceef21bc authored by Shirlei Chaves's avatar Shirlei Chaves
Browse files

Remove spurious comment

parent 6b6b63a3
No related branches found
No related tags found
No related merge requests found
...@@ -512,7 +512,6 @@ def encrypt_ballot(request, election): ...@@ -512,7 +512,6 @@ def encrypt_ballot(request, election):
perform the ballot encryption given answers_json, a JSON'ified list of list of answers perform the ballot encryption given answers_json, a JSON'ified list of list of answers
(list of list because each question could have a list of answers if more than one.) (list of list because each question could have a list of answers if more than one.)
""" """
# FIXME: maybe make this just request.POST at some point?
answers = utils.from_json(request.POST['answers_json']) answers = utils.from_json(request.POST['answers_json'])
ev = homomorphic.EncryptedVote.fromElectionAndAnswers(election, answers) ev = homomorphic.EncryptedVote.fromElectionAndAnswers(election, answers)
return ev.ld_object.includeRandomness().toJSONDict() return ev.ld_object.includeRandomness().toJSONDict()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment