336
337
# Create a copy of the original item, and then clear the original item so it can be filled with images
337
338
item_cpy = copy.copy(item)
341
self.media_item.generate_slide_data(item, item_cpy, False, False, ServiceItemContext.Live,
345
self.media_item.generate_slide_data(item, item_cpy, False, False, ServiceItemContext.Preview,
341
self.media_item.generate_slide_data(item, item=item_cpy, context=context, file_path=file_path)
347
342
# Some of the original serviceitem attributes is needed in the new serviceitem
348
343
item.footer = item_cpy.footer
349
344
item.from_service = item_cpy.from_service