1
0
Fork 0
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:
Adrien Waksberg 2017-02-26 23:11:07 +01:00
parent 52577425a6
commit e4fb780016

View file

@ -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?