Skip to content

Commit

Permalink
Merge pull request #917 from adfinis/updates
Browse files Browse the repository at this point in the history
fix(deps): update dependencies
  • Loading branch information
winged authored Jan 8, 2025
2 parents 1858839 + 16d4f76 commit aa07725
Show file tree
Hide file tree
Showing 4 changed files with 1,156 additions and 438 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ USER document-merge-service

ARG ENV=docker
COPY pyproject.toml poetry.lock $APP_HOME/
RUN if [ "$ENV" = "dev" ]; then poetry install --all-extras; else poetry install --all-extras --without dev; fi
RUN if [ "$ENV" = "dev" ]; then poetry install --no-root --all-extras; else poetry install --no-root --all-extras --without dev; fi

COPY . $APP_HOME

Expand Down
2 changes: 1 addition & 1 deletion document_merge_service/api/engines.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def __init__(self, template):
def _get_placeholders(self, document):
return [
field.attrib.get("name")
for part in document.parts.values()
for part in document.docx.parts.values()
for field in part["part"].findall(".//MergeField")
]

Expand Down
Loading

0 comments on commit aa07725

Please sign in to comment.