dont print url

This commit is contained in:
j 2014-08-05 12:12:55 +02:00
parent 33327094e3
commit d4ad1466be

View file

@ -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)