chore: remove unused variables

This commit is contained in:
Paul Bienkowski 2021-11-27 23:22:22 +01:00
parent 04add36a5b
commit 1c39476ac5

View file

@ -38,10 +38,6 @@ async def tiles(req, zoom: int, x: int, y: str):
tile = get_tile(req.app.config.TILES_FILE, int(zoom), int(x), int(y)) tile = get_tile(req.app.config.TILES_FILE, int(zoom), int(x), int(y))
else: else:
data = column("data")
key = column("key")
mvts = table("mvts", data, key)
tile = await req.ctx.db.scalar( tile = await req.ctx.db.scalar(
text(f"select data from getmvt(:zoom, :x, :y) as b(data, key);").bindparams( text(f"select data from getmvt(:zoom, :x, :y) as b(data, key);").bindparams(
zoom=int(zoom), zoom=int(zoom),