Skip to content

Commit

Permalink
Merge pull request #1006 from girder/pil-internal-metadata
Browse files Browse the repository at this point in the history
Don't report filename in internal PIL metadata
  • Loading branch information
manthey authored Dec 5, 2022
2 parents 1f2f0c6 + 0d189cb commit 697d461
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## 1.18.1

### Changes
Don't report filename in internal PIL metadata ([#1006](../../pull/1006))

## 1.18.0

### Features
Expand Down
2 changes: 1 addition & 1 deletion sources/pil/large_image_source_pil/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def getInternalMetadata(self, **kwargs):
:returns: a dictionary of data or None.
"""
results = {'pil': {}}
for key in ('filename', 'format', 'mode', 'size', 'width', 'height', 'palette', 'info'):
for key in ('format', 'mode', 'size', 'width', 'height', 'palette', 'info'):
try:
results['pil'][key] = getattr(self._pilImage, key)
except Exception:
Expand Down

0 comments on commit 697d461

Please sign in to comment.