forked from LiveCarta/BookConverter
Add processor (no stem in file)
This commit is contained in:
@@ -56,7 +56,7 @@ def update_src_links_in_images(body_tag: Tag,
|
||||
path2aws_path[path_to_img_from_root] = new_folder
|
||||
else:
|
||||
new_folder = save_image_locally(
|
||||
path_to_img_from_root, img_content, book_id)
|
||||
path_to_img_from_root, img_content, 'book_id')
|
||||
|
||||
img.attrs['src'] = str(new_folder)
|
||||
if img.attrs.get('width'):
|
||||
|
||||
Reference in New Issue
Block a user