Browse files

Actual fix

  • Loading branch information...
1 parent 036d9f5 commit 387381fa8fac818f0afe932b27a172494084a411 @mitsuhiko mitsuhiko committed Jul 15, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 sync-librelist.py
View
4 sync-librelist.py
@@ -125,7 +125,7 @@ def add_new_mail(self, f, fsid):
def add_thread_for(self, mail):
self.threads.append({
- 'title': mail['subject'] or '[No Subject]',
+ 'title': mail['subject'],
'slug': self.generate_slug(mail),
'date': mail['date'],
'author': mail['author'],
@@ -260,7 +260,7 @@ def parse_mail(f, fsid):
'references': references,
'author': split_email(headers['from']),
'date': headers['Date'],
- 'subject': strip_subject_prefix(headers['subject']),
+ 'subject': strip_subject_prefix(headers['subject'] or 'No Subject'),
'text': body,
'children': []
}

0 comments on commit 387381f

Please sign in to comment.