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

Empty string checks #177

Open
skinkie opened this issue Jan 25, 2021 · 0 comments · May be fixed by #191
Open

Empty string checks #177

skinkie opened this issue Jan 25, 2021 · 0 comments · May be fixed by #191
Assignees

Comments

@skinkie
Copy link
Contributor

skinkie commented Jan 25, 2021

In the current code we have a lot of empty string checks. Python seems to handle if string.strip() as good as if len(string) > 0 or if string != ''. We should do something uniform and consistent through the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants