Applied black, refs #811

pull/819/head
Simon Willison 2020-06-08 11:03:33 -07:00
rodzic ab14b20b24
commit dfff34e198
1 zmienionych plików z 1 dodań i 3 usunięć

Wyświetl plik

@ -85,9 +85,7 @@ class PermissionsDebugView(BaseView):
self.ds = datasette
async def get(self, request):
if not await self.ds.permission_allowed(
request.actor, "permissions-debug"
):
if not await self.ds.permission_allowed(request.actor, "permissions-debug"):
return Response("Permission denied", status=403)
return await self.render(
["permissions_debug.html"],