diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2014-12-04 16:56:49 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2014-12-04 17:20:53 +0100 |
| commit | 87bdc5e4b5a788547764e1c222008a6c7c54232a (patch) | |
| tree | 38d7d24f8f52b41ea3017f3e05edda62a210fb18 /client/stt.py | |
| parent | 68e5c979ad6f643af23a8c1e5895c8bb38527328 (diff) | |
| download | jasper-client-87bdc5e4b5a788547764e1c222008a6c7c54232a.tar.gz jasper-client-87bdc5e4b5a788547764e1c222008a6c7c54232a.zip | |
Use Python-3-style print function to match coding style
This also makes a possible transition to Python 3.x easier
Diffstat (limited to 'client/stt.py')
| -rw-r--r-- | client/stt.py | 10 |
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): |
