aboutsummaryrefslogtreecommitdiffstats
path: root/epy.py
diff options
context:
space:
mode:
authorbenadha <benawiadha@gmail.com>2022-01-21 22:49:55 +0700
committerbenadha <benawiadha@gmail.com>2022-01-21 22:49:55 +0700
commita8f4114da47d7159eb08dc5b090330c551df6ef1 (patch)
tree76153cda798e6ec739613af8bf01b1c54e692a43 /epy.py
parent1cd26a27f68925c692c4e7a1f258bdfc2a5b9d6c (diff)
downloadepy-a8f4114da47d7159eb08dc5b090330c551df6ef1.tar.gz
More verbose loader
Diffstat (limited to 'epy.py')
-rwxr-xr-xepy.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/epy.py b/epy.py
index 8a44574..c32c346 100755
--- a/epy.py
+++ b/epy.py
@@ -2996,6 +2996,7 @@ class Reader:
self.totlines_per_content: Tuple[int, ...] = tuple()
for n, content in enumerate(contents):
+ self.show_loader(subtext=f"loading contents ({n+1}/{len(contents)})")
starting_line = sum(self.totlines_per_content)
assert isinstance(content, str) or isinstance(content, ET.Element)
text_structure_tmp = parse_html(
@@ -3076,7 +3077,7 @@ class Reader:
if self.spread == 2:
x = DoubleSpreadPadding.LEFT.value
- self.show_loader(subtext="displaying contents")
+ self.show_loader(subtext="loading contents")
# get text structure, toc entries and contents of the book
if self.seamless:
text_structure, toc_entries, contents = self.get_all_book_contents(reading_state)