aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils/uhd_images_downloader.py.in
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-08-23 14:50:43 -0700
committerJosh Blum <josh@joshknows.com>2012-08-23 14:50:43 -0700
commit8404ee981f879cffd5078a0d316ee2298f7faddb (patch)
treea3a9ce56e5773c49bf750e23d1effbd6c6ce514c /host/utils/uhd_images_downloader.py.in
parent9f36d5bee7726ee6e9d278b0999edf03823f58d6 (diff)
parent584b7ae26c4e61688c06043a0587ca50ac83b1dc (diff)
downloaduhd-8404ee981f879cffd5078a0d316ee2298f7faddb.tar.gz
uhd-8404ee981f879cffd5078a0d316ee2298f7faddb.tar.bz2
uhd-8404ee981f879cffd5078a0d316ee2298f7faddb.zip
Merge branch 'master' into next
Diffstat (limited to 'host/utils/uhd_images_downloader.py.in')
-rw-r--r--host/utils/uhd_images_downloader.py.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/host/utils/uhd_images_downloader.py.in b/host/utils/uhd_images_downloader.py.in
index be76f5b2d..6aa619660 100644
--- a/host/utils/uhd_images_downloader.py.in
+++ b/host/utils/uhd_images_downloader.py.in
@@ -46,8 +46,7 @@ if __name__ == "__main__":
u = urllib2.urlopen(images_src)
f = open(filename, "wb")
meta = u.info()
- #filesize = int(meta.getheaders("Content-Length")[0])
- filesize = float(int(meta.getheaders("Content-Length")[0]))
+ filesize = float(meta.getheaders("Content-Length")[0])
print "Downloading images from: %s" % images_src