summaryrefslogtreecommitdiff
path: root/client/g2p.py
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-10-20 12:01:18 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2014-10-20 12:01:18 +0200
commit321423887a8aaf639bf0bfe0b34cbe7aaee7b1f6 (patch)
tree178411e753b7b3c5a6a73558ca92abc2ad2b112c /client/g2p.py
parenta564cb3858c412570634b0a45ea975ece1f7446d (diff)
parentcf048f3af682fb7ee9275838eebb4def63ed60fb (diff)
downloadjasper-client-321423887a8aaf639bf0bfe0b34cbe7aaee7b1f6.tar.gz
jasper-client-321423887a8aaf639bf0bfe0b34cbe7aaee7b1f6.zip
Merge pull request #228 from Holzhaus/fix-string-format-bug
Fix bug #227: Not all arguments converted during string formatting
Diffstat (limited to 'client/g2p.py')
-rw-r--r--client/g2p.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/g2p.py b/client/g2p.py
index 7b03386..c40e3a2 100644
--- a/client/g2p.py
+++ b/client/g2p.py
@@ -86,8 +86,8 @@ class PhonetisaurusG2P(object):
"check if Phonetisaurus is installed and in your " +
"$PATH.")
if fst_model is None or not os.access(fst_model, os.R_OK):
- raise OSError("FST model '%r' does not exist! Can't create " +
- "instance." % fst_model)
+ raise OSError(("FST model '%r' does not exist! Can't create " +
+ "instance.") % fst_model)
inst = object.__new__(cls, fst_model, *args, **kwargs)
return inst