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

This part fails on empty string #23

Open
alkuzad opened this issue May 8, 2020 · 0 comments
Open

This part fails on empty string #23

alkuzad opened this issue May 8, 2020 · 0 comments

Comments

@alkuzad
Copy link

alkuzad commented May 8, 2020

if any(cmd.lower().endswith(ext.lower()) for ext in pathext):

split on string that usually ends with ";" will generate empty string as last item.

As every string can end with empty string, this will always return plain version, not suffixed one

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

1 participant