@@ -85,7 +85,7 @@ def build_pdf_book(self, language: str, markdown_filepath: pathlib.Path) -> None
85
85
]
86
86
)
87
87
except (FileNotFoundError , subprocess .CalledProcessError ) as error :
88
- log .error (error )
88
+ self . log .error (error )
89
89
self .log .warning ("Please, install 'xelatex'!" )
90
90
91
91
raise RuntimeError from error
@@ -106,7 +106,7 @@ def build_pdf_book(self, language: str, markdown_filepath: pathlib.Path) -> None
106
106
]
107
107
)
108
108
except subprocess .CalledProcessError as error :
109
- log .error (error )
109
+ self . log .error (error )
110
110
self .log .warning ("'pandoc' process failed!" )
111
111
112
112
raise RuntimeError from error
@@ -127,7 +127,7 @@ def build_epub_book(self, language: str, markdown_filepath: pathlib.Path) -> Non
127
127
]
128
128
)
129
129
except subprocess .CalledProcessError as error :
130
- log .error (error )
130
+ self . log .error (error )
131
131
self .log .warning ("'pandoc' process failed!" )
132
132
133
133
raise RuntimeError from error
@@ -238,7 +238,7 @@ def _collect_markdown_files_from_source(
238
238
prefix = f"{ parent_prefix } { title_tokens [0 ]} ."
239
239
240
240
if entry .is_dir () is True :
241
- log .detail (f"Processing directory: { entry } " )
241
+ self . log .detail (f"Processing directory: { entry } " )
242
242
243
243
title = " " .join (title_tokens [1 :])
244
244
@@ -250,7 +250,7 @@ def _collect_markdown_files_from_source(
250
250
prefix , markdown_files
251
251
)
252
252
else :
253
- log .detail (f"Processing: { entry } " )
253
+ self . log .detail (f"Processing: { entry } " )
254
254
255
255
title = " " .join (title_tokens [1 :])
256
256
0 commit comments