fix bug in preview import

This commit is contained in:
nishiki 2015-03-19 22:52:33 +01:00
parent 7f45037366
commit 4cc134afb4
2 changed files with 38 additions and 9 deletions
lib/UI

View file

@ -298,8 +298,10 @@ class Cli
if not force
result = @mpw.import_preview(file, type)
puts result
if result.is_a?(Array) and not result.empty?
result.each do |r|
puts r.class
display_item(r)
end