OSDN Git Service

load arcs bowl
[tdcgexplorer/nimono-crawlers.git] / bin / load-arcs.rb
index 1a06a9b..ae45bdb 100644 (file)
@@ -23,7 +23,7 @@ open(ent) do |f|
     if scrap.match(line)
       name, summary, size, date, origname, locked = scrap.row
       arc = location.create_arc(name, summary, size, date, origname, locked)
-      arc.create_zip_entries("/Volumes/uploader/arc/#{location.code}/#{name}")
+      arc.create_zip_entries("/Volumes/uploader/arc/#{location.code}/#{name}") unless locked
       puts
     end
   end