diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-01-28 10:55:37 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-01-28 11:04:28 +1100 |
commit | c799e4184c3f14e7770afa514621c72ebc408c52 (patch) | |
tree | 0abbf9861176cb6315b48489702c2c7623dfc52a /lib/tasks | |
parent | 39e879cfe57a61132c4e2dbc57a0f578e3ba1a3e (diff) |
Calling TMail::Mail#base64_decode does not modify the mail object so doesn't do anything as used here
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/translation.rake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tasks/translation.rake b/lib/tasks/translation.rake index 6548a2283..ff07fc6f6 100644 --- a/lib/tasks/translation.rake +++ b/lib/tasks/translation.rake @@ -4,7 +4,7 @@ namespace :translation do include Usage def write_email(email, email_description, output_file) - mail_object = MailHandler.mail_from_raw_email(email.to_s, decode=false) + mail_object = MailHandler.mail_from_raw_email(email.to_s) output_file.write("\n") output_file.write("Description of email: #{email_description}\n") output_file.write("Subject line: #{mail_object.subject}\n") @@ -86,7 +86,7 @@ namespace :translation do 'fixtures', 'files', 'incoming-request-plain.email')) - response_mail = MailHandler.mail_from_raw_email(content, decode=false) + response_mail = MailHandler.mail_from_raw_email(content) response_mail.from = "authority@example.com" stopped_responses_email = RequestMailer.create_stopped_responses(info_request, |