Fix error with channel searches with non-ascii characters

This commit is contained in:
James Taylor 2019-03-25 13:15:54 -07:00
parent a33b71820c
commit 0ecf3d08be

View File

@ -60,7 +60,7 @@ def unpadded_b64encode(data):
def as_bytes(value):
if isinstance(value, str):
return value.encode('ascii')
return value.encode('utf-8')
return value