Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2012-02-06 21:02:08 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2012-02-06 21:02:08 (GMT)
commit2c1ee3c9258370b892b509e0a32bcbf4037eeb3c (patch)
tree65a9fca6b4d7f13186b4c1fb56e5c53951ec0a90
parentdb1397b8cffb2bd97f3dc5a2a3fab746ed77856d (diff)
Comment unused code to prepare to text to speech
-rw-r--r--epubview/epubview.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/epubview/epubview.py b/epubview/epubview.py
index 71a3158..bc30fd8 100644
--- a/epubview/epubview.py
+++ b/epubview/epubview.py
@@ -446,12 +446,14 @@ 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