From 5cf75892096e10df99013b7ff9590d85fcd98ff8 Mon Sep 17 00:00:00 2001 From: Tasha Upchurch Date: Thu, 28 Mar 2024 13:41:58 -0400 Subject: [PATCH] small typo fix for "windows" vrs "Windows" --- software/source/server/services/tts/piper/tts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/source/server/services/tts/piper/tts.py b/software/source/server/services/tts/piper/tts.py index 85dfd822..46d23dc8 100644 --- a/software/source/server/services/tts/piper/tts.py +++ b/software/source/server/services/tts/piper/tts.py @@ -67,7 +67,7 @@ def install(self, service_directory): urllib.request.urlretrieve(asset_url, os.path.join(PIPER_FOLDER_PATH, PIPER_ASSETNAME)) # Extract the downloaded file - if OS == "Windows": + if OS == "windows": import zipfile with zipfile.ZipFile(os.path.join(PIPER_FOLDER_PATH, PIPER_ASSETNAME), 'r') as zip_ref: zip_ref.extractall(path=PIPER_FOLDER_PATH)