Skip to content

Conversation

devinmatte
Copy link
Member

In an effort to allow freshmen to use gravatar images if they want, check if they have one and display it

Copy link
Member

@JoelEager JoelEager left a comment

Choose a reason for hiding this comment

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

Looks good but I have a couple of minor comments.



@lru_cache(maxsize=128)
def get_rit_image(username):
Copy link
Member

Choose a reason for hiding this comment

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

Maybe it'd make more sense to call this get_gravatar() instead? It's not pulling the image from any RIT service so it's not really an "RIT image".

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm planning to get more than just gravatar in the future, but it will be based on the RIT email

@devinmatte devinmatte merged commit 902c653 into ComputerScienceHouse:develop Aug 27, 2019
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