aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mail_handler/mail_handler.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2015-05-22 17:49:59 +0100
committerLouise Crow <louise.crow@gmail.com>2015-05-22 17:49:59 +0100
commit15418b4f0aebb31643300e75c9c68e0e71a90560 (patch)
treea1d061fac0994b39e99df570e14b29c8f088331b /lib/mail_handler/mail_handler.rb
parent5116263e02fce228f9d1006945cb311829a7b586 (diff)
parent7b2757e7be4ae2ddf0fa7cb694faf5799340f003 (diff)
Merge remote-tracking branch 'jpmckinney_github/parentheses' into rails-3-develop
Diffstat (limited to 'lib/mail_handler/mail_handler.rb')
-rw-r--r--lib/mail_handler/mail_handler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mail_handler/mail_handler.rb b/lib/mail_handler/mail_handler.rb
index 0c60fd3f5..313869d16 100644
--- a/lib/mail_handler/mail_handler.rb
+++ b/lib/mail_handler/mail_handler.rb
@@ -134,7 +134,7 @@ module MailHandler
begin
zip_file = Zip::ZipFile.open(tempfile.path)
text += get_attachment_text_from_zip_file(zip_file)
- zip_file.close()
+ zip_file.close
rescue
$stderr.puts("Error processing zip file: #{$!.inspect}")
end