Skip to content

Commit

Permalink
[feature] add ImageMetadata() to warn users
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoHsiao1 committed Jul 6, 2024
1 parent 134e658 commit fdb313d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pyexiv2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,9 @@
'convert_xmp_to_exif',
'convert_xmp_to_iptc',
]


def ImageMetadata(*args, **kwargs):
raise NameError('ImageMetadata() is the API of py3exiv2, see https://pypi.org/project/py3exiv2 . ' +
'However, the library you imported is pyexiv2, see https://pypi.org/project/pyexiv2 .')

0 comments on commit fdb313d

Please sign in to comment.