summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2012-08-14 09:10:45 -0700
committerJosh Blum <josh@joshknows.com>2012-08-14 10:14:03 -0700
commit8e3ee0021eacb135c0826e73f40dfa533fada0a0 (patch)
treebf3931414a6f4b30d5c578c1719c2f99246633c8 /host
parent09de3c0768d2961ec3668882b4284e0db3b37eb8 (diff)
downloaduhd-8e3ee0021eacb135c0826e73f40dfa533fada0a0.tar.gz
uhd-8e3ee0021eacb135c0826e73f40dfa533fada0a0.tar.bz2
uhd-8e3ee0021eacb135c0826e73f40dfa533fada0a0.zip
utils: minor uhd_images_downloader cleanup
Diffstat (limited to 'host')
-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