Encode terminate session message

This commit is contained in:
JonnyWong16 2018-06-29 13:24:57 -07:00
parent fdd8ac7c7b
commit d4784dff23

View file

@ -1934,7 +1934,7 @@ class PmsConnect(object):
Output: bool
"""
message = message or 'The server owner has ended the stream.'
message = message.encode('utf-8') or 'The server owner has ended the stream.'
if session_key and not session_id:
ap = activity_processor.ActivityProcessor()