mirror of
https://github.com/nishiki/manage-password.git
synced 2025-02-20 01:50:04 +00:00
fix bug when gpg path is empty
This commit is contained in:
parent
c25b312013
commit
94f6e4e61e
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class MPW
|
|||
@gpg_exe = gpg_exe
|
||||
@wallet_file = wallet_file
|
||||
|
||||
if @gpg_exe
|
||||
if not @gpg_exe.to_s.empty?
|
||||
GPGME::Engine.set_info(GPGME::PROTOCOL_OpenPGP, @gpg_exe, "#{Dir.home}/.gnupg")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue