fix bug in preview import
This commit is contained in:
parent
7f45037366
commit
4cc134afb4
2 changed files with 38 additions and 9 deletions
lib/UI
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue