aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pyexiv2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pyexiv2.py b/src/pyexiv2.py
index 902301e..ba1734a 100644
--- a/src/pyexiv2.py
+++ b/src/pyexiv2.py
@@ -1051,7 +1051,7 @@ class ImageMetadata(object):
self._tags['xmp'][key] = tag
return tag
- def get(self, key):
+ def __getitem__(self, key):
"""
Get a metadata tag for a given key.
DOCME