diff --git a/legal-auto.py b/legal-auto.py index c2dcf315..6a42aa47 100755 --- a/legal-auto.py +++ b/legal-auto.py @@ -128,7 +128,7 @@ class LegalAuto(ReviewBot.ReviewBot): self.message = 'declined' print("unacceptable without user %d" % report.get('id')) return None - comment = report.get('result', None) + comment = report.get('result', None).encode('utf-8') if comment: self.message = "@{} declined the legal report with the following comment: {}".format( user, comment)