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

Possible coding error #21

Open
Grandpa-G opened this issue May 15, 2022 · 2 comments
Open

Possible coding error #21

Grandpa-G opened this issue May 15, 2022 · 2 comments

Comments

@Grandpa-G
Copy link

I am reasonably sure there is a coding error in webapp.py

At line 1561, 1617
if content == '': # if FAA data not available bypass getting apinfo

should be
if content == b'': # if FAA data not available bypass getting apinfo

The result from the request url is a byte string. Comparing to a normal string will fail.

@markyharris
Copy link
Owner

markyharris commented May 15, 2022 via email

@Grandpa-G
Copy link
Author

I did one test which doesn't mean too much.

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

2 participants