summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-10-20 12:00:43 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2014-10-20 12:00:43 +0200
commitcf048f3af682fb7ee9275838eebb4def63ed60fb (patch)
tree178411e753b7b3c5a6a73558ca92abc2ad2b112c /client
parenta564cb3858c412570634b0a45ea975ece1f7446d (diff)
downloadjasper-client-cf048f3af682fb7ee9275838eebb4def63ed60fb.tar.gz
jasper-client-cf048f3af682fb7ee9275838eebb4def63ed60fb.zip
Fix bug #227: Not all arguments converted during string formatting
Diffstat (limited to 'client')
-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