Skip to content

Commit

Permalink
small typo fix for "windows" vrs "Windows"
Browse files Browse the repository at this point in the history
  • Loading branch information
TashaSkyUp committed Mar 28, 2024
1 parent 5f35f68 commit 5cf7589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion software/source/server/services/tts/piper/tts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5cf7589

Please sign in to comment.