Fix error with channel searches with non-ascii characters
This commit is contained in:
parent
a33b71820c
commit
0ecf3d08be
@ -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
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user