Skip to content

Commit

Permalink
Merge pull request #28 from item4/encode
Browse files Browse the repository at this point in the history
fix encode error for multibyte charsets (close #27)
  • Loading branch information
xordoquy committed Dec 30, 2014
2 parents 2926bea + 4d1db30 commit 18ba4e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sentry_hipchat/models.py
Expand Up @@ -110,9 +110,9 @@ def notify_users(self, group, event, fail_silently=False):
def send_payload(self, endpoint, token, room, message, notify, color='red'):
values = {
'auth_token': token,
'room_id': room,
'room_id': room.encode('u8'),
'from': 'Sentry',
'message': message,
'message': message.encode('u8'),
'notify': int(notify),
'color': color,
}
Expand Down

0 comments on commit 18ba4e1

Please sign in to comment.