From 1c39476ac5ef5657d20681f2c426dfba6d2ed771 Mon Sep 17 00:00:00 2001 From: Paul Bienkowski Date: Sat, 27 Nov 2021 23:22:22 +0100 Subject: [PATCH] chore: remove unused variables --- api/obs/api/routes/tiles.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/api/obs/api/routes/tiles.py b/api/obs/api/routes/tiles.py index 4989b81..43bdce7 100644 --- a/api/obs/api/routes/tiles.py +++ b/api/obs/api/routes/tiles.py @@ -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)) else: - data = column("data") - key = column("key") - mvts = table("mvts", data, key) - tile = await req.ctx.db.scalar( text(f"select data from getmvt(:zoom, :x, :y) as b(data, key);").bindparams( zoom=int(zoom),