fix: mj order

dependabot/pip/requests-2.31.0
Pierre-Louis Guhur 1 year ago
commit b4988e58d3

@ -480,7 +480,7 @@ def get_results(db: Session, election_ref: str) -> schemas.ResultsGet:
for c, votes in ballots.items()
}
ranking = majority_judgment(merit_profile, reverse=False) # pyright: ignore
ranking = majority_judgment(merit_profile) # pyright: ignore
db_election.ranking = ranking
db_election.merit_profile = merit_profile2

@ -7,6 +7,7 @@ RUN apt-get update && \
WORKDIR /code
COPY ./requirements.txt .
RUN pip install --no-cache-dir -U pip && \
pip install --no-cache-dir -r requirements.txt

Loading…
Cancel
Save