1
0
Fork 0
mirror of https://github.com/nishiki/manage-password.git synced 2024-10-27 10:43:20 +00:00

fix bug share key

This commit is contained in:
Adrien Waksberg 2017-02-14 21:30:26 +01:00
parent f251b2ebe0
commit ec3abbe88a

View file

@ -94,14 +94,17 @@ cli.load_config
if not options[:list].nil?
cli.list_wallet
elsif not options[:gpg_key].nil?
if options[:delete]
cli.delete_key(options[:gpg_key])
else
cli.add_key(options[:gpg_key])
end
else
cli.get_wallet(options[:wallet])
cli.decrypt
cli.setup_wallet_config(values)
if not options[:gpg_key].nil?
if options[:delete]
cli.delete_key(options[:gpg_key])
else
cli.add_key(options[:gpg_key])
end
else
cli.setup_wallet_config(values)
end
end