MantisMail.subject() : decode value before return
Benjamin Renard

Benjamin Renard commited on 2012-04-20 14:34:14
Showing 1 changed files, with 1 additions and 1 deletions.

... ...
@@ -24,7 +24,7 @@ class MantisMail(object):
24 24
 		return None
25 25
 
26 26
 	def subject(self):
27
-		return self.msg['Subject']	
27
+		return self.decode_header('Subject')
28 28
 	
29 29
 	def get_text(self):
30 30
 		content='From : %s' % self.msg['From']
31 31