Skip to content

Commit 78869b5

Browse files
committed
Simplify is_available() method of osx-speaker
1 parent 961cf65 commit 78869b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: client/speaker.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class saySpeaker(AbstractSpeaker):
118118

119119
@classmethod
120120
def is_available(cls):
121-
return (super(saySpeaker, cls).is_available() and subprocess.call(['which','say']) == 0)
121+
return (platform.system() == 'darwin')
122122

123123
def say(self, phrase):
124124
cmd = ['say', str(phrase)]

0 commit comments

Comments
 (0)