Skip to content

Commit

Permalink
Merge pull request #56 from CybercentreCanada/main
Browse files Browse the repository at this point in the history
Rebase
  • Loading branch information
cccs-rs authored May 11, 2023
2 parents 3361930 + e00a1d5 commit 37fda89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion document_preview/document_preview.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def render_documents(self, request: Request, max_pages=1):
# Render EML as PNG
# If we have internet access, we'll attempt to load external images
eml2image(file_contents, self.working_directory, self.log,
load_ext_images=self.service_attributes.docker_config.allow_internet_access,
load_ext_images=self.has_internet_access,
load_images=request.get_param('load_email_images'))
# HTML
elif request.file_type == "code/html" and self.has_internet_access:
Expand Down

0 comments on commit 37fda89

Please sign in to comment.