Skip to content

Commit

Permalink
[fix] handle weird emoji issues via weechat/notification_center.py
Browse files Browse the repository at this point in the history
  • Loading branch information
megalithic committed Nov 13, 2018
1 parent 99e50db commit 2b57f27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pync/TerminalNotifier.py
Expand Up @@ -70,7 +70,7 @@ def notify(self, message, **kwargs):
"""

if sys.version_info < (3,):
message = message.encode('utf-8')
message = message.encode('utf-8', 'replace')

self._wait = kwargs.pop('wait', False)

Expand Down

0 comments on commit 2b57f27

Please sign in to comment.