summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-10-06 18:11:32 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2014-10-08 20:53:09 +0200
commitf9db756c18723abcacd54ad0667f69babca4c695 (patch)
tree034170a3a88a18da9e3255ae8eb49de44cfb41f9 /client
parent897812b6659fdd7a68bceec9ccb008a16182ef9f (diff)
downloadjasper-client-f9db756c18723abcacd54ad0667f69babca4c695.tar.gz
jasper-client-f9db756c18723abcacd54ad0667f69babca4c695.zip
PEP8 style fixes in test.py and vocabcompiler.py
Diffstat (limited to 'client')
-rw-r--r--client/test.py3
-rw-r--r--client/vocabcompiler.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/client/test.py b/client/test.py
index 7f31f37..0034974 100644
--- a/client/test.py
+++ b/client/test.py
@@ -86,7 +86,8 @@ class TestMic(unittest.TestCase):
class TestG2P(unittest.TestCase):
def setUp(self):
- self.g2pconverter = g2p.PhonetisaurusG2P(**g2p.PhonetisaurusG2P.get_config())
+ self.g2pconverter = g2p.PhonetisaurusG2P(
+ **g2p.PhonetisaurusG2P.get_config())
self.words = ['GOOD', 'BAD', 'UGLY']
def testTranslateWord(self):
diff --git a/client/vocabcompiler.py b/client/vocabcompiler.py
index 1cfe15e..d0f0124 100644
--- a/client/vocabcompiler.py
+++ b/client/vocabcompiler.py
@@ -323,7 +323,7 @@ class PocketsphinxVocabulary(AbstractVocabulary):
line = "%s\t%s\n" % (word, pronounciation)
else:
line = "%s(%d)\t%s\n" % (word, i, pronounciation)
- f.write(line)
+ f.write(line)
def get_phrases_from_module(module):