1
0
Fork 0
mirror of https://github.com/nishiki/manage-password.git synced 2025-02-20 01:50:04 +00:00

fix bug after add default wallet

This commit is contained in:
Adrien Waksberg 2017-02-22 21:59:49 +01:00
parent c841123ac0
commit 31574751ff
2 changed files with 2 additions and 2 deletions

View file

@ -61,7 +61,7 @@ class Cli
I18n.locale = lang.to_sym
@config.setup(options[:gpg_key], lang, options[:wallet_dir], options[:gpg_exe])
@config.setup(options[:gpg_key], lang, options[:wallet_dir], options[:default_wallet], options[:gpg_exe])
load_config

View file

@ -27,7 +27,7 @@ class TestConfig < Test::Unit::TestCase
}
@config = MPW::Config.new
@config.setup(data[:key], data[:lang], data[:wallet_dir], data[:gpg_exe])
@config.setup(data[:key], data[:lang], data[:wallet_dir], nil, data[:gpg_exe])
@config.load_config
data.each do |k,v|