diff --git a/app/crud.py b/app/crud.py index dec0510..9990d05 100644 --- a/app/crud.py +++ b/app/crud.py @@ -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 diff --git a/docker/Dockerfile b/docker/Dockerfile index f330bf7..abeda44 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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