Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

n/a #23

Closed
mbcullen opened this issue Aug 21, 2020 · 2 comments
Closed

n/a #23

mbcullen opened this issue Aug 21, 2020 · 2 comments

Comments

@mbcullen
Copy link

I'm reading keywords from an image exported from Lightroom and I'm seeing a charset error, and the letter b is included before each element in the return.

Here's my snippet of code:

from iptcinfo3 import IPTCInfo

def read_tags():
info = IPTCInfo('test2.jpg')
words = info['keywords']
print(words)

And this is the output:

WARNING: problems with charset recognition (b'\x1b')
[b'cambodia', b'cow', b'overcast', b'temple']

This is the image that I'm running it on.
test2

I can suppress the error, but is there a way to stop returning the extraneous b character?

@mbcullen
Copy link
Author

Not actually an issue.

@mbcullen mbcullen changed the title Charset Warning and the letter b included in all returned elements. n/a Aug 21, 2020
@nealmcb
Copy link

nealmcb commented Apr 2, 2021

See #32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants