We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b388d5 commit 749b8feCopy full SHA for 749b8fe
nodebox/sound/process.py
@@ -228,6 +228,8 @@ def start(self):
228
if self.patch is None \
229
or not os.path.exists(self.patch):
230
raise PDError, "no PD patch file at '%s'" % self.patch
231
+ if not self._path:
232
+ raise PDError, "no PD application found"
233
if not os.path.exists(self._path):
234
raise PDError, "no PD application at '%s'" % self._path
235
if not self._process:
@@ -286,4 +288,4 @@ def data(self):
286
288
def stop(self):
287
289
self._socket.connections -= 1
290
self._socket.close()
- self._socket = None
291
+ self._socket = None
0 commit comments