aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Houston <robin.houston@gmail.com>2012-01-17 14:40:33 +0000
committerRobin Houston <robin.houston@gmail.com>2012-01-17 14:40:33 +0000
commit6cf896d3f335ce05d144ad6f6c31939e0586a828 (patch)
treef92847286dda18bb860fc039af71d4ba507c5719
parent7e7757661aa4be4e38ffa1fd7aa96a36700f2cf4 (diff)
Typo whoops
-rw-r--r--app/models/incoming_message.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/incoming_message.rb b/app/models/incoming_message.rb
index 69a125770..46993c1a2 100644
--- a/app/models/incoming_message.rb
+++ b/app/models/incoming_message.rb
@@ -738,7 +738,7 @@ class IncomingMessage < ActiveRecord::Base
tempfile = Tempfile.new('foiuu')
tempfile.print uu
tempfile.flush
- content = AlaveteliExternalCommand("uudecode", "-o", "/dev/stdout", tempfile.path)
+ content = AlaveteliExternalCommand.run("uudecode", "-o", "/dev/stdout", tempfile.path)
tempfile.close
# Make attachment type from it, working out filename and mime type
filename = uu.match(/^begin\s+[0-9]+\s+(.*)$/)[1]