Actual fix
This commit is contained in:
parent
036d9f5663
commit
387381fa8f
1 changed files with 2 additions and 2 deletions
|
|
@ -125,7 +125,7 @@ class Tree(object):
|
||||||
|
|
||||||
def add_thread_for(self, mail):
|
def add_thread_for(self, mail):
|
||||||
self.threads.append({
|
self.threads.append({
|
||||||
'title': mail['subject'] or '[No Subject]',
|
'title': mail['subject'],
|
||||||
'slug': self.generate_slug(mail),
|
'slug': self.generate_slug(mail),
|
||||||
'date': mail['date'],
|
'date': mail['date'],
|
||||||
'author': mail['author'],
|
'author': mail['author'],
|
||||||
|
|
@ -260,7 +260,7 @@ def parse_mail(f, fsid):
|
||||||
'references': references,
|
'references': references,
|
||||||
'author': split_email(headers['from']),
|
'author': split_email(headers['from']),
|
||||||
'date': headers['Date'],
|
'date': headers['Date'],
|
||||||
'subject': strip_subject_prefix(headers['subject']),
|
'subject': strip_subject_prefix(headers['subject'] or 'No Subject'),
|
||||||
'text': body,
|
'text': body,
|
||||||
'children': []
|
'children': []
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue