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:
parent
c841123ac0
commit
31574751ff
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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|
|
||||
|
|
Loading…
Add table
Reference in a new issue