Skip to content

Commit

Permalink
fix(deps): update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
anehx committed Jan 7, 2025
1 parent 1858839 commit 16d4f76
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 16d4f76

Please sign in to comment.