We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdf1248 commit 94aa74fCopy full SHA for 94aa74f
1 file changed
cleantalk.py
@@ -94,7 +94,4 @@ def request(self, message, sender_ip, sender_email, sender_nickname, submit_time
94
response_str = response_bytes.decode(CleanTalk.ENCODING)
95
response_parsed = json.loads(response_str)
96
97
- if 'comment' in response_parsed:
98
- response_parsed['comment'] = response_parsed['comment'].encode('ISO-8859-1', 'ignore').decode('utf-8', 'ignore')
99
-
100
return response_parsed
0 commit comments