Skip to content
Browse files

fix message read from cmd line

  • Loading branch information...
1 parent b0486a8 commit 373d028e3b2ba7bb93fba8460e1158eedb0cfad3 @drd committed Feb 15, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 clippy.rb
View
2 clippy.rb
@@ -78,7 +78,7 @@ def to_multipart
query, headers = MultipartPost.new.prepare_query(
YAML.load(File.read('acct.yaml')).merge(
'media' => pic,
- 'message' => ARGV[0]
+ 'message' => ARGV.join(' ')
))
request = Net::HTTP::Post.new('/api/uploadAndPost', headers)

0 comments on commit 373d028

Please sign in to comment.
Something went wrong with that request. Please try again.