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

fix #325

Merged
Merged

fix #325

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion namegraph/xcollections/collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ def __init__(
self.tokenized_names = tokenized_names
self.name_types = name_types
self.modified_timestamp = modified_timestamp
self.avatar_emoji = avatar_emoji.replace('\ufe0f', '\ufe0e') if avatar_emoji else None
if avatar_emoji:
avatar_emoji = avatar_emoji.replace('\ufe0f', '') + '\ufe0e'
self.avatar_emoji = avatar_emoji
self.avatar_image = avatar_image
self.related_collections = related_collections

Expand Down
Loading