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

Fix glob matching #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix glob matching #46

wants to merge 1 commit into from

Conversation

elael
Copy link

@elael elael commented Mar 15, 2022

Hi!
I had this issue today, I suggest a fix. I hope it helps.

The output of pathlib.Path.glob is a generator. So it was always evaluating to true.

the output of `pathlib.Path.glob` is a generator. So it was always evaluating to true.
@asmeurer
Copy link
Owner

This change looks good. Can you add a test for it?

@elael
Copy link
Author

elael commented Mar 16, 2022

Sure, I'll do it soon.

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

Successfully merging this pull request may close these issues.

None yet

2 participants