1
0
Fork 0
mirror of https://github.com/nishiki/manage-password.git synced 2025-03-19 12:59:30 +00:00

fix argument in config setup

This commit is contained in:
Adrien Waksberg 2017-04-08 17:39:51 +02:00
parent 18ba8967d9
commit 388dc439b6

View file

@ -54,7 +54,7 @@ module MPW
# Create a new config file
# @args: options -> hash with values
# @rtrn: true if le config file is create
def setup(options)
def setup(**options)
gpg_key = options[:gpg_key] || @gpg_key
lang = options[:lang] || @lang
wallet_dir = options[:wallet_dir] || @wallet_dir