Add processor (no stem in file)

This commit is contained in:
Kiryl
2021-12-01 14:43:56 +03:00
parent a18389881f
commit ad6be84c4b

View File

@@ -440,7 +440,7 @@ class EpubConverter:
path_to_html=nav_point.href,
access=self.access,
path2aws_path=self.old_image_path2aws_path,
book_id=self.file.stem)
book_id=self.file.stem or 'book_id')
is_chapter = lvl <= LiveCartaConfig.SUPPORTED_LEVELS
title_preprocessed = prepare_title(title)