📝 Small fixes.:wq

gi
This commit is contained in:
Brian Wiborg 2023-04-03 13:53:12 +02:00
parent 4ebcb09be7
commit 0f43292863
No known key found for this signature in database
GPG Key ID: BE53FA9286B719D6

View File

@ -13,7 +13,7 @@ poetry install
## Usage
```python
from voting.voting import Quorum, QuorumKind, Vote, Voting, Result
from voting import Quorum, QuorumKind, Vote, Voting, Result
# initializing a new voting
voting = Voting(
@ -31,8 +31,10 @@ voting.vote('alice', Vote.NO)
voting.vote('alice', Vote.YES)
# obtaining the result
res = Result(voting)
print(res.result())
res = Result(voting).result()
# printing the result
print(Result(voting))
```
## Command-line Interface