Skip to content

Commit

Permalink
Merge pull request OpenInterpreter#178 from TashaSkyUp/fix-typo-windows
Browse files Browse the repository at this point in the history
Fix typo windows
  • Loading branch information
tyfiero authored Mar 28, 2024
2 parents c819eba + f03d344 commit 0f624fe
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 0f624fe

Please sign in to comment.