aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tasks/translation.rake
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tasks/translation.rake')
-rw-r--r--lib/tasks/translation.rake4
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,