mirror of
https://github.com/nishiki/manage-password.git
synced 2025-02-20 01:50:04 +00:00
minor refacto
This commit is contained in:
parent
388dc439b6
commit
b65595d0b7
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ module MPW
|
|||
end
|
||||
end
|
||||
|
||||
add_key(@key) if @keys[@key].nil?
|
||||
add_key(@key) unless @keys.key?(@key)
|
||||
rescue => e
|
||||
raise "#{I18n.t('error.mpw_file.read_data')}\n#{e}"
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue