Skip to content

Commit f169fd2

Browse files
Fix after review.
1 parent 165442d commit f169fd2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

wizard/vote_directly.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ def _do_main(cli_args: List[str]):
8080
previous_vote = entrypoint.get_direct_vote(address, proposal)
8181
if previous_vote:
8282
print(f"\tprevious vote at {format_time(previous_vote.timestamp)}:", previous_vote.vote_type)
83+
print(f"\t[red]has already voted![/red]")
84+
continue
8385

8486
tx = entrypoint.vote_directly(
8587
sender=account_wrapper,

0 commit comments

Comments
 (0)