Browse Source

python req2

main
gsd 4 months ago
parent
commit
92c994ad0a
  1. 2
      webExtensions/publicEndpoints.py

2
webExtensions/publicEndpoints.py

@ -64,7 +64,7 @@ class WebExtension:
@self.app.get(self.core.context+"/tile/{z}/{x}/{y}.png")
@self.core.authManager.authRequest()
async def grabTile(z:int, x:int, y:int):
async def grabTile(request:Request, z:int, x:int, y:int):
try:
img = await self.core.tileManager.grabTile(z, x, y)
print(type(img))

Loading…
Cancel
Save