From 1b13ec56fb74de9504e8dea9891bf88fa1ba935a Mon Sep 17 00:00:00 2001
From: Julie Pichon <julie.pichon@gmail.com>
Date: Tue, 5 Jan 2010 22:31:47 +0000
Subject: [PATCH] Add error message to PlayWave to explain missing dependency (#638)
---
library/pippy/sound.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/library/pippy/sound.py b/library/pippy/sound.py
index 0818bd0..d9f7dfb 100755
a
|
b
|
def playWave(sound='horse', pitch=1, amplitude=1, loop=False, duration=1, startt |
154 | 154 | if '/' in sound: |
155 | 155 | fullname = sound |
156 | 156 | else: |
| 157 | if finddir() == None: |
| 158 | print _("Please install TamTamEdit's sound library.") |
| 159 | sys.exit(0) |
157 | 160 | fullname = finddir() + str(sound) |
158 | 161 | |
159 | 162 | if loop == False: lp = 0 |