Skip to content

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.

2 participants