sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit bd8b1a33274539ee5c07512bb530d515ca07d7f8
parent cc5ce58b192d9ec947b5655da0068648643c9e95
Author: Hamish Downer <dmishd@gmail.com>
Date:   Thu, 10 Feb 2011 23:19:29 +0000

fixed type in gpg checking code

Diffstat:
M lib/sup/crypto.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/crypto.rb b/lib/sup/crypto.rb
@@ -71,7 +71,7 @@ EOS
       # if it doesn't then check if gpg agent is present
       gpg_opts = HookManager.run("gpg-options", 
                                {:operation => "sign", :options => {}}) || {}
-      if gpg_opts[:passphrase_callback.nil?
+      if gpg_opts[:passphrase_callback].nil?
         if ENV['GPG_AGENT_INFO'].nil?
           @not_working_reason = ["Environment variable 'GPG_AGENT_INFO' not set, is gpg-agent running?",
                              "If gpg-agent is running, try $ export `cat ~/.gpg-agent-info`"]