Skip to content

Commit

Permalink
Use the correct output directory for downloading Unicode files
Browse files Browse the repository at this point in the history
  • Loading branch information
varkor committed May 21, 2018
1 parent 68c4fb8 commit d3c257b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libcore/unicode/unicode.py
Expand Up @@ -66,8 +66,7 @@
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)
Expand Down

0 comments on commit d3c257b

Please sign in to comment.