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

Add check for announcements #109

Merged
merged 2 commits into from
Jul 30, 2017
Merged

Add check for announcements #109

merged 2 commits into from
Jul 30, 2017

Conversation

brianyu28
Copy link
Member

No description provided.

@brianyu28 brianyu28 requested a review from dmalan July 29, 2017 23:31
dmalan
dmalan previously approved these changes Jul 30, 2017
submit50.py Outdated
# check announcements
res = requests.get("https://cs50.me/status/submit50")
if res.status_code == 200 and res.text:
raise Error(res.text)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe a .strip() to avoid trailing newlines and such?

@brianyu28 brianyu28 merged commit bbd95db into develop Jul 30, 2017
@brianyu28 brianyu28 deleted the announcements branch July 30, 2017 01:58
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