Skip to content

Commit 4aa87c0

Browse files
committed
Removed excessive info messages printed in the terminal
1 parent c5b07ef commit 4aa87c0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build_ebook_v2.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,15 +219,15 @@ def _collect_markdown_files_from_source(
219219
prefix = f"{parent_prefix}{title_tokens[0]}."
220220

221221
if entry.is_dir() is True:
222-
log.info(f"Processing directory: {entry}")
222+
log.detail(f"Processing directory: {entry}")
223223

224224
self._collect_markdown_files_from_source(
225225
entry,
226226
(current_depth + 1),
227227
prefix, markdown_files
228228
)
229229
else:
230-
log.info(f"Processing: {entry}")
230+
log.detail(f"Processing: {entry}")
231231

232232
title = ' '.join(title_tokens[1:])
233233

@@ -279,7 +279,7 @@ def _collect_markdown_files_from_source(
279279
except FileNotFoundError as fileError:
280280
log.error(fileError)
281281

282-
# Comment to view log
282+
# Comment out to view log file
283283
if out_dir.exists():
284284
shutil.rmtree(out_dir)
285285

0 commit comments

Comments
 (0)