Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
djstrong committed Jan 17, 2025
1 parent 1cdb5e2 commit 294ce5c
Showing 1 changed file with 3 additions and 1 deletion.
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

0 comments on commit 294ce5c

Please sign in to comment.