1
0
Fork 0
mirror of https://github.com/nishiki/manage-password.git synced 2025-02-17 08:30:04 +00:00

fix import preview default yaml

This commit is contained in:
nishiki 2014-12-28 19:43:13 +01:00
parent 9aca9da49b
commit 1c4e54582f

View file

@ -231,7 +231,7 @@ module MPW
# Return a preview import
# @args: file -> path to file import
# @rtrn: a hash with the items to import, if there is an error return false
def import_preview(file, type=:csv)
def import_preview(file, type=:yaml)
result = []
case type
when :csv