From 69fd042ef240e246e28d0723fbe721a8f42601b6 Mon Sep 17 00:00:00 2001 From: Alon Date: Fri, 26 Feb 2010 21:26:38 +0200 Subject: [PATCH] bugfix: messed up flite output path and where I'm looking for cached files --- pc/speaker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pc/speaker.py b/pc/speaker.py index e9d5ea4..b0aa599 100755 --- a/pc/speaker.py +++ b/pc/speaker.py @@ -10,7 +10,7 @@ def make_wav(num): filename = 'wav/%s.wav' % num if not os.path.exists(filename): - os.system('flite -t %s -o %s.wav' % (num, num)) + os.system('flite -t %s -o wav/%s.wav' % (num, num)) assert(os.path.exists(filename)) return filename