mirror of
https://github.com/nishiki/manage-password.git
synced 2025-03-19 12:59:30 +00:00
fix minor bug when config password is empty
This commit is contained in:
parent
52577425a6
commit
e4fb780016
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ class Config
|
|||
@wallet_dir = config['wallet_dir']
|
||||
@default_wallet = config['default_wallet']
|
||||
@gpg_exe = config['gpg_exe']
|
||||
@password = config['password']
|
||||
@password = config['password'] || {}
|
||||
|
||||
raise if @gpg_key.empty? or @wallet_dir.empty?
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue