src/iconolab_mcc/management/commands/importimages.py
changeset 31 2403c49a6d6e
parent 21 631f70f55fed
equal deleted inserted replaced
30:0b6bb04ec32b 31:2403c49a6d6e
   387                         "photo_credits" : item_photo_credits,
   387                         "photo_credits" : item_photo_credits,
   388                         "inventory_number" : item_inventory_number,
   388                         "inventory_number" : item_inventory_number,
   389                         "joconde_ref" : item_joconde_ref
   389                         "joconde_ref" : item_joconde_ref
   390                     }
   390                     }
   391                     self.create_item_and_metadata(
   391                     self.create_item_and_metadata(
   392                         natural_key, collection, new_metadata, item['SRC_IMG_FILES'], options, self.source_dir)
   392                         natural_key, collection, new_metadata, item['SRC_IMG_FILES'], options)
   393 
   393 
   394             print('# All done!')
   394             print('# All done!')
   395 
   395 
   396             logger.debug('# Recap for import command: ')
   396             logger.debug('# Recap for import command: ')
   397             print('# Images without data: ')
   397             print('# Images without data: ')