Change debug messages

This commit is contained in:
Michael Pivato
2019-01-24 16:15:34 +10:30
parent 57db02a402
commit bb03bdd628

View File

@@ -51,11 +51,11 @@ class BallotVoter:
def submit_vote(self): def submit_vote(self):
v = self.on_vote() v = self.on_vote()
if v == None: if v == None:
print('Could not vote on the frame') print('Could not get vote')
return return
print("Got Vote") print("Got Vote")
vote = SubmitVote(v, self.messenger.id) vote = SubmitVote(v, self.messenger.id)
print('created vote') print('Created Vote Message')
self.messenger.broadcast_message(self.messenger.swarm, vote.serialise()) self.messenger.broadcast_message(self.messenger.swarm, vote.serialise())
print('published vote') print('published vote')