fixing unterminated fsting
Python CI / test (push) Failing after 46s

This commit is contained in:
2025-11-09 00:09:04 +01:00
parent 8dce1569c0
commit ce7293824e
7 changed files with 14 additions and 17 deletions
+2 -2
View File
@@ -416,8 +416,8 @@ class ContainerAware:
"""
if not hasattr(container, required_method):
raise AttributeError(
f"Container {
type(container).__name__} must have a '{required_method}' method")
f"Container {type(container).__name__} must have a '{required_method}' method"
)
@classmethod
def _inherit_style(cls, container, style=None):
+2 -3
View File
@@ -461,9 +461,8 @@ class EPUBReader:
block._loaded_image = self.image_processor(block._loaded_image)
except Exception as e:
print(
f"Warning: Image processing failed for image '{
block.alt_text}': {
str(e)}")
f"Warning: Image processing failed for image '{block.alt_text}': {str(e)}"
)
# Continue with unprocessed image
def _process_content_images(self):
+2 -2
View File
@@ -81,8 +81,8 @@ class Font:
logger.debug(f"Font loading: assets_dir = {assets_dir}")
logger.debug(f"Font loading: bundled_font_path = {bundled_font_path}")
logger.debug(
f"Font loading: bundled font exists = {
os.path.exists(bundled_font_path)}")
f"Font loading: bundled font exists = {os.path.exists(bundled_font_path)}"
)
if os.path.exists(bundled_font_path):
logger.info(f"Found bundled font at: {bundled_font_path}")