Use the correct output directory for downloading Unicode files
This commit is contained in:
parent
68c4fb8f2f
commit
d3c257b0ae
@ -66,8 +66,7 @@ surrogate_codepoints = (0xd800, 0xdfff)
|
||||
def fetch(f):
|
||||
path = fdir + os.path.basename(f)
|
||||
if not os.path.exists(path):
|
||||
os.system("curl -O http://www.unicode.org/Public/UNIDATA/%s"
|
||||
% f)
|
||||
os.system("curl -o {0}{1} http://www.unicode.org/Public/UNIDATA/{1}".format(fdir, f))
|
||||
|
||||
if not os.path.exists(path):
|
||||
sys.stderr.write("cannot load %s" % f)
|
||||
|
Loading…
x
Reference in New Issue
Block a user