Skip to content

Commit d3c257b

Browse files
committed
Use the correct output directory for downloading Unicode files
1 parent 68c4fb8 commit d3c257b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libcore/unicode/unicode.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@
6666
def fetch(f):
6767
path = fdir + os.path.basename(f)
6868
if not os.path.exists(path):
69-
os.system("curl -O http://www.unicode.org/Public/UNIDATA/%s"
70-
% f)
69+
os.system("curl -o {0}{1} http://www.unicode.org/Public/UNIDATA/{1}".format(fdir, f))
7170

7271
if not os.path.exists(path):
7372
sys.stderr.write("cannot load %s" % f)

0 commit comments

Comments
 (0)