Skip to content
This repository has been archived by the owner on Nov 22, 2021. It is now read-only.

Issue #71: Fixed fallback emojis on Selector class #72

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

bradykelly
Copy link

The Selector class used emoji.name but fallback emojis are strings themselves, and calling name on string throws an error. Replaced emoji.name with a get_emoji_name function that handles string emojis.

Copy link
Owner

@parafoxia parafoxia left a comment

Choose a reason for hiding this comment

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

Overall, good PR! Changes mainly focussed around increasing consistency across Solaris' code base.

solaris/utils/menu/selectors.py Outdated Show resolved Hide resolved
solaris/utils/menu/selectors.py Outdated Show resolved Hide resolved
solaris/utils/menu/selectors.py Outdated Show resolved Hide resolved
solaris/utils/menu/selectors.py Outdated Show resolved Hide resolved
solaris/utils/menu/selectors.py Outdated Show resolved Hide resolved
solaris/utils/menu/selectors.py Outdated Show resolved Hide resolved
Copy link
Owner

@parafoxia parafoxia 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. I'll wait until I'm ready commit other stuff for the 1.2.3 release, but the changes should be good. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants