Skip to content

Commit d22e14a

Browse files
committed
Removed ensure_ascii=False, as it's part of another upcoming branch
1 parent 9b6a00b commit d22e14a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

slackclient/server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def send_to_websocket(self, data):
149149
150150
"""
151151
try:
152-
data = json.dumps(data, ensure_ascii=False)
152+
data = json.dumps(data)
153153
self.websocket.send(data)
154154
except Exception:
155155
self.rtm_connect(reconnect=True)
@@ -260,7 +260,7 @@ def api_call(self, method, timeout=None, **kwargs):
260260
response = self.api_requester.do(self.token, method, kwargs, timeout=timeout)
261261
response_json = json.loads(response.text)
262262
response_json["headers"] = dict(response.headers)
263-
return json.dumps(response_json, ensure_ascii=False)
263+
return json.dumps(response_json)
264264

265265
# TODO: Move the error types defined below into the .exceptions namespace. This would be a semver
266266
# major change because any clients already referencing these types in order to catch them

0 commit comments

Comments
 (0)