summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-07-26 16:44:12 -0700
committerschneefux <schneefux+commit@schneefux.xyz>2014-07-26 16:44:12 -0700
commit50057bec57447247846d615865fe225ffc814771 (patch)
tree4c6006e407024cf159c511fd03cb883fbbd4c4f1 /client
parent78389f252a021d642a7a0146b658f0465da6e264 (diff)
downloadjasper-client-50057bec57447247846d615865fe225ffc814771.tar.gz
jasper-client-50057bec57447247846d615865fe225ffc814771.zip
Cleanup before pull request.
Diffstat (limited to 'client')
-rw-r--r--client/stt.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/stt.py b/client/stt.py
index 5da0889..3b3b81d 100644
--- a/client/stt.py
+++ b/client/stt.py
@@ -124,6 +124,10 @@ class GoogleSTT(object):
decoded = json.loads(response_read.split("\n")[1])
print response_read
text = decoded['result'][0]['alternative'][0]['transcript']
+ if text:
+ print "==================="
+ print "JASPER: " + text
+ print "==================="
return text
except Exception:
traceback.print_exc()