chore: remove unused variables
This commit is contained in:
parent
04add36a5b
commit
1c39476ac5
|
@ -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),
|
||||||
|
|
Loading…
Reference in a new issue