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

Issue 55 - AttributeError is raised due to request being None #5

Merged
merged 2 commits into from
Nov 21, 2023

Conversation

tbowers7
Copy link
Member

@tbowers7 tbowers7 commented Nov 21, 2023

This is PR dwighthubbard#56. Merging here to make some progress.

The request.status_code line is only valid if request is not null, this line belongs in the for loop where request can potentially have meaning when it is not None but has a failing status code.
Move to out of loop but inside of an if check so we don't log too much.
@tbowers7 tbowers7 merged commit 54990c2 into LowellObservatory:main Nov 21, 2023
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