summaryrefslogtreecommitdiff
path: root/client/stt.py
diff options
context:
space:
mode:
Diffstat (limited to 'client/stt.py')
-rw-r--r--client/stt.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/client/stt.py b/client/stt.py
index 543a322..9eb07e7 100644
--- a/client/stt.py
+++ b/client/stt.py
@@ -138,11 +138,13 @@ class PocketSphinxSTT(AbstractSTTEngine):
self._logger.debug(line.strip())
f.truncate()
- print "==================="
- print "JASPER: " + result[0]
- print "==================="
+ transcribed = [result[0]]
- return [result[0]]
+ print("===================")
+ print("JASPER: %r" % transcribed)
+ print("===================")
+
+ return transcribed
@classmethod
def is_available(cls):