From d4ad1466be1ae509edb84ff5bddab7db1cd09d83 Mon Sep 17 00:00:00 2001 From: j Date: Tue, 5 Aug 2014 12:12:55 +0200 Subject: [PATCH] dont print url --- oml/update.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oml/update.py b/oml/update.py index 084a9fc..35c16b8 100644 --- a/oml/update.py +++ b/oml/update.py @@ -17,7 +17,7 @@ import ox import settings ENCODING='base64' -RELEASE_URL = "http://downloads.openmedialibrary.com/release.json" +RELEASE_URL = 'http://downloads.openmedialibrary.com/release.json' def verify(release): vk = ed25519.VerifyingKey(settings.OML_UPDATE_KEY, encoding=ENCODING) @@ -33,7 +33,7 @@ def verify(release): return True def download(url, filename): - print url, filename + print 'download', filename dirname = os.path.dirname(filename) if dirname and not os.path.exists(dirname): os.makedirs(dirname)