We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Passing a pathlib.Path object as the filenames parameter raises some error:
pathlib.Path
filenames
Traceback (most recent call last): File "/home/stefan/temp/run.py", line 57, in <module> print(reader.decode(path)) File "/home/stefan/temp/venv/lib/python3.9/site-packages/zxing/__init__.py", line 80, in decode for fn_or_im in filenames: TypeError: 'PosixPath' object is not iterable
python-zxing/zxing/__init__.py
Lines 72 to 76 in ea517d0
The text was updated successfully, but these errors were encountered:
seems to be incomplete and probably should check for the inverse, id est for known iterables
Want to submit a PR to do it this way instead?
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Passing a
pathlib.Path
object as thefilenames
parameter raises some error:python-zxing/zxing/__init__.py
Lines 72 to 76 in ea517d0
The text was updated successfully, but these errors were encountered: