Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix message read from cmd line

  • Loading branch information...
commit 373d028e3b2ba7bb93fba8460e1158eedb0cfad3 1 parent b0486a8
@drd authored
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)
Please sign in to comment.
Something went wrong with that request. Please try again.