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

Upload script should only look at files that match filetype in config.ini #47

Open
andrebriggs opened this issue Nov 28, 2018 · 2 comments

Comments

@andrebriggs
Copy link

The iteration loop here grabs all files and attempt to extract height and width without checking to see if the file is actually an image.

@yashpande
Copy link
Collaborator

yashpande commented Nov 28, 2018

This could probably be done by replacing subfolder.iterdir() with subfolder.rglob(filetype). Shouldn't be too hard to do, but I don't want to create new errors. Could @olgaliak or someone else try changing this on their branch and seeing if it works?

@andrebriggs
Copy link
Author

@yashpande I know. Just logging the bug so we will fix. Most likely will rewrite this area.

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