mirror of
https://github.com/nishiki/manage-password.git
synced 2025-03-19 21:04:35 +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']
|
@wallet_dir = config['wallet_dir']
|
||||||
@default_wallet = config['default_wallet']
|
@default_wallet = config['default_wallet']
|
||||||
@gpg_exe = config['gpg_exe']
|
@gpg_exe = config['gpg_exe']
|
||||||
@password = config['password']
|
@password = config['password'] || {}
|
||||||
|
|
||||||
raise if @gpg_key.empty? or @wallet_dir.empty?
|
raise if @gpg_key.empty? or @wallet_dir.empty?
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue