summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/tts.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/tts.py b/client/tts.py
index ca9a5a0..9a9cf8b 100644
--- a/client/tts.py
+++ b/client/tts.py
@@ -240,7 +240,7 @@ class MacOSXTTS(AbstractTTSEngine):
@classmethod
def is_available(cls):
- return (platform.system() == 'darwin' and
+ return (platform.system().lower() == 'darwin' and
diagnose.check_executable('say') and
diagnose.check_executable('afplay'))
@@ -486,7 +486,7 @@ class MaryTTS(AbstractTTSEngine):
def get_default_engine_slug():
- return 'osx-tts' if platform.system() == 'darwin' else 'espeak-tts'
+ return 'osx-tts' if platform.system().lower() == 'darwin' else 'espeak-tts'
def get_engine_by_slug(slug=None):