Runnable with both Python3 and Python2, with both PyQt5 and PyQt4 by using Qt.py #2250
|
@ -156,5 +156,5 @@ class MsgDecode(object):
|
|||
if subject:
|
||||
subject = subject.splitlines()[0]
|
||||
# Field types should be the same for all message types
|
||||
self.subject = subject.decode('utf-8', 'replace')
|
||||
self.body = body.decode('utf-8', 'replace')
|
||||
self.subject = subject.decode("utf-8", "replace")
|
||||
self.body = body.decode("utf-8", "replace")
|
||||
|
|
Reference in New Issue
Block a user