Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions FoxDot/lib/Extensions/VRender/Sinsy.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import sys
import urllib
import urllib.request

from functools import reduce

Expand All @@ -8,5 +8,4 @@ def download(output,wavPath):
index = text.find('./temp/') + len('./temp/')
text = text[index:index+40].split(".")[0]

testfile = urllib.URLopener()
testfile.retrieve("http://sinsy.sp.nitech.ac.jp/temp/" + text + ".wav", wavPath)
urllib.request.urlretrieve("http://sinsy.sp.nitech.ac.jp/temp/" + text + ".wav", wavPath)