Permalink
Browse files

Don't include the initial fwd

  • Loading branch information...
1 parent ce9c46c commit ec19ec2d37d9d1877e24a54af5a21a7d1cad0288 @jstorimer committed Mar 8, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
View
@@ -38,9 +38,9 @@ task :generate_chapters do
mail.header['From'].include?('Eric Wong')
}
- # Reject replies
+ # Reject replies and fwds
articles = erics.reject { |mail|
- mail.header['Subject'].match /^Re:/
+ mail.header['Subject'].match /^(Re|Fwd):/
}
FileUtils.mkdir_p 'src/chapters'

0 comments on commit ec19ec2

Please sign in to comment.