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

area file parsing logic fails with extra whitespace #18

Open
mivade opened this issue Jan 23, 2018 · 0 comments
Open

area file parsing logic fails with extra whitespace #18

mivade opened this issue Jan 23, 2018 · 0 comments
Labels

Comments

@mivade
Copy link
Contributor

mivade commented Jan 23, 2018

lines = [line.split() for line in f.read().split('\n') if len(line)]

We shouldn't check if len(line). Specifically this can be an issue if the only thing on a line is whitespace.

@mivade mivade added the bug label Jan 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant