update translator

This commit is contained in:
Carlos Polop
2025-01-01 21:23:33 +01:00
parent d96df379fd
commit d0e6a85e6f
18 changed files with 31 additions and 19 deletions

View File

@@ -50,7 +50,7 @@ def ref(matchobj):
dir = path.dirname(current_chapter['source_path'])
logger.debug(f'Error getting chapter title: {href} trying with relative path {path.normpath(path.join(dir,href))}')
chapter, _path = findtitle(path.normpath(path.join(dir,href)), book, "source_path")
logger.debug(f'Recursive title search result: {chapter['name']}')
logger.debug(f'Recursive title search result: {chapter["name"]}')
title = chapter['name']
except Exception as e:
logger.debug(f'Error getting chapter title: {path.normpath(path.join(dir,href))}')