lib/examples/plugins/capture_thing_import.rb in doing-2.1.33 vs lib/examples/plugins/capture_thing_import.rb in doing-2.1.34
- old
+ new
@@ -31,10 +31,10 @@
raise InvalidArgument, 'File not found' unless File.exist?(path)
raise InvalidArgument, 'Path is not a directory' unless File.directory?(path)
options[:no_overlap] ||= false
- options[:autotag] ||= wwid.auto_tag
+ options[:autotag] ||= Doing.auto_tag
tags = options[:tag] ? options[:tag].split(/[ ,]+/).map { |t| t.sub(/^@?/, '') } : []
options[:tag] = nil
prefix = options[:prefix] || ''