diff --git a/plugins/droplr/droplr.rb b/plugins/droplr/droplr.rb index 4af49906d..38751dfcb 100755 --- a/plugins/droplr/droplr.rb +++ b/plugins/droplr/droplr.rb @@ -18,7 +18,7 @@ if ARGV[0].nil? exit!(1) end -if ARGV[0][%r{^http?://|https://}i] +if ARGV[0][%r{^http[|s]://}i] `osascript -e 'tell app "Droplr" to shorten "#{ARGV[0]}"'` else `open -ga /Applications/Droplr.app "#{ARGV[0]}"`