Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/speech.py
diff options
context:
space:
mode:
authorJames Simmons <jim@olpc.simmons>2009-03-11 23:19:33 (GMT)
committer James Simmons <jim@olpc.simmons>2009-03-11 23:19:33 (GMT)
commit629d303f8a6d6bd69928bf2aad7018ca2225f823 (patch)
tree720888a0107b8ce4ba8a599a1d12b670af7dcb68 /speech.py
parentd855a2207430196afd2961e2975aaa74e9ebe787 (diff)
modified: speech.py
Fix bug that made Activity fail when gst espeak plugin not installed.
Diffstat (limited to 'speech.py')
-rw-r--r--speech.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/speech.py b/speech.py
index 11ff045..a1c1e5f 100644
--- a/speech.py
+++ b/speech.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2008 James D. Simmons
+# Copyright (C) 2008, 2009 James D. Simmons
# Copyright (C) 2009 Aleksey S. Lim
#
# This program is free software; you can redistribute it and/or modify
@@ -21,10 +21,6 @@ _logger = logging.getLogger('read-etexts-activity')
supported = True
-import gst
-gst.element_factory_make('espeak')
-from speech_gst import *
-
try:
import gst
gst.element_factory_make('espeak')