Skip to content

Commit

Permalink
Don't set offset twice.
Browse files Browse the repository at this point in the history
  • Loading branch information
zerebubuth committed Jul 5, 2018
1 parent 16f983b commit aa83bf9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ def meta_and_offset(requested_tile, meta_size, tile_size):
# the request and the zoom level of the metatile.
if requested_tile.z < delta_z:
meta = TileRequest(0, 0, 0, 'zip')
offset = TileRequest(0, 0, 0, requested_tile.format)
else:
meta = TileRequest(
requested_tile.z - delta_z,
Expand Down

0 comments on commit aa83bf9

Please sign in to comment.