Permalink
Browse files

Merge pull request #36 from yellow-sky/master

Fix small bug on tiles compression
  • Loading branch information...
2 parents ac9d2f0 + a15111f commit a0a7c5bfc3197f46b20eddf7bdf595ceafb703be @tmcw tmcw committed Sep 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mbutil/util.py
View
@@ -69,7 +69,7 @@ def compression_do(cur, con, chunk):
res = cur.fetchone()
total_tiles = res[0]
logging.debug("%d total tiles to fetch" % total_tiles)
- for i in range(total_tiles / chunk):
+ for i in range(total_tiles / chunk + 1):
logging.debug("%d / %d rounds done" % (i, (total_tiles / chunk)))
ids = []
files = []

0 comments on commit a0a7c5b

Please sign in to comment.