diff options
-rw-r--r-- | epubadapter.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epubadapter.py b/epubadapter.py index 9b691b8..d9db1fb 100644 --- a/epubadapter.py +++ b/epubadapter.py @@ -71,6 +71,7 @@ class EpubViewer(epubview.EpubView): for word_tuple in self.word_tuples[self.current_word:end_range]: file_str.write('<mark name="' + str(i) + '"/>' + word_tuple[2]) i = i + 1 + self.current_word = i file_str.write('</speak>') return file_str.getvalue() |