dont print url
This commit is contained in:
parent
33327094e3
commit
d4ad1466be
1 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ import ox
|
||||||
import settings
|
import settings
|
||||||
|
|
||||||
ENCODING='base64'
|
ENCODING='base64'
|
||||||
RELEASE_URL = "http://downloads.openmedialibrary.com/release.json"
|
RELEASE_URL = 'http://downloads.openmedialibrary.com/release.json'
|
||||||
|
|
||||||
def verify(release):
|
def verify(release):
|
||||||
vk = ed25519.VerifyingKey(settings.OML_UPDATE_KEY, encoding=ENCODING)
|
vk = ed25519.VerifyingKey(settings.OML_UPDATE_KEY, encoding=ENCODING)
|
||||||
|
@ -33,7 +33,7 @@ def verify(release):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def download(url, filename):
|
def download(url, filename):
|
||||||
print url, filename
|
print 'download', filename
|
||||||
dirname = os.path.dirname(filename)
|
dirname = os.path.dirname(filename)
|
||||||
if dirname and not os.path.exists(dirname):
|
if dirname and not os.path.exists(dirname):
|
||||||
os.makedirs(dirname)
|
os.makedirs(dirname)
|
||||||
|
|
Loading…
Reference in a new issue