Improve EPUB restoration, book terminology and Calibre QA workflow
This commit is contained in:
@@ -44,6 +44,8 @@ async def run_build(args):
|
||||
manager = ManifestManager(manifest_path)
|
||||
manager.load()
|
||||
|
||||
if any(e.translated_text and not e.translated_html for e in manager.entries):
|
||||
raise ValueError("Run format restoration before building; missing validated HTML")
|
||||
# Backfill (Pure Injection)
|
||||
logger.info(f"Injecting content (Mode: {args.mode})...")
|
||||
backfiller = BackfillEngine() # No dependencies needed
|
||||
|
||||
Reference in New Issue
Block a user