Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #36 from yellow-sky/master

Fix small bug on tiles compression
  • Loading branch information...
commit a0a7c5bfc3197f46b20eddf7bdf595ceafb703be 2 parents ac9d2f0 + a15111f
@tmcw tmcw authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mbutil/util.py
View
2  mbutil/util.py
@@ -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 = []
Please sign in to comment.
Something went wrong with that request. Please try again.