diff options
author | benadha <benawiadha@gmail.com> | 2022-01-21 22:49:55 +0700 |
---|---|---|
committer | benadha <benawiadha@gmail.com> | 2022-01-21 22:49:55 +0700 |
commit | a8f4114da47d7159eb08dc5b090330c551df6ef1 (patch) | |
tree | 76153cda798e6ec739613af8bf01b1c54e692a43 /epy.py | |
parent | 1cd26a27f68925c692c4e7a1f258bdfc2a5b9d6c (diff) | |
download | epy-a8f4114da47d7159eb08dc5b090330c551df6ef1.tar.gz |
More verbose loader
Diffstat (limited to 'epy.py')
-rwxr-xr-x | epy.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |