Update docs

This commit is contained in:
RunasSudo 2017-12-11 11:53:49 +10:30
parent 90bb2b6265
commit db1955d628
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A

View File

@ -102,7 +102,7 @@ election.mixing_trustees.append(InternalMixingTrustee(name='Eos Voting'))
election.sk = EGPrivateKey.generate() election.sk = EGPrivateKey.generate()
election.public_key = election.sk.public_key election.public_key = election.sk.public_key
election.questions.append(ApprovalQuestion(prompt='Pineapple on pizza?', choices=['Yes', 'No'], min_choices=0, max_choices=1)) election.questions.append(ApprovalQuestion(prompt='Pineapple on pizza?', choices=[Choice(name='Yes'), Choice(name='No')], min_choices=0, max_choices=1))
# Freeze election # Freeze election
election.workflow.get_task('eos.base.workflow.TaskConfigureElection').enter() election.workflow.get_task('eos.base.workflow.TaskConfigureElection').enter()