add directory to download path

This commit is contained in:
ThomasV 2015-10-29 00:15:13 +01:00
parent 53273b7d40
commit 69d983fcd5
1 changed files with 2 additions and 2 deletions

View File

@ -24,8 +24,8 @@ files = {
}
for k, n in files.items():
path = "binaries/%s"%n
link = "https://download.electrum.org/%s"%n
path = "dist/%s"%n
link = "https://download.electrum.org/%s/%s"%(version,n)
if not os.path.exists(path):
os.system("wget -q %s -O %s" % (link, path))
if not os.path.getsize(path):