diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2012-03-02 16:33:20 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2012-03-02 16:33:20 (GMT) |
commit | 503f2a90c6b8ac5d1c45f39c348bf4938a89168e (patch) | |
tree | d429a3adb2bcf7083830fbaee013d31ddbcb1d5f /epubview | |
parent | d2d63ec148662ff87ed6888c10440956ff960474 (diff) |
Re-enable text to speech in epub backend
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'epubview')
-rw-r--r-- | epubview/epubview.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/epubview/epubview.py b/epubview/epubview.py index 216f6c7..8db93df 100644 --- a/epubview/epubview.py +++ b/epubview/epubview.py @@ -454,14 +454,12 @@ class _View(Gtk.HBox): self._on_page_changed(0, int(pageno)) # prepare text to speech - """ html_file = open(self._loaded_filename) soup = BeautifulSoup.BeautifulSoup(html_file) body = soup.find('body') tags = body.findAll(text=True) self._all_text = ''.join([tag for tag in tags]) self._prepare_text_to_speech(self._all_text) - """ def _prepare_text_to_speech(self, page_text): i = 0 |