mirror of
https://github.com/nishiki/manage-password.git
synced 2025-02-22 10:50:10 +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
|
||||||
end
|
end
|
||||||
|
|
||||||
add_key(@key) if @keys[@key].nil?
|
add_key(@key) unless @keys.key?(@key)
|
||||||
rescue => e
|
rescue => e
|
||||||
raise "#{I18n.t('error.mpw_file.read_data')}\n#{e}"
|
raise "#{I18n.t('error.mpw_file.read_data')}\n#{e}"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue