From dfff34e1987976e72f58ee7b274952840b1f4b71 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Mon, 8 Jun 2020 11:03:33 -0700 Subject: [PATCH] Applied black, refs #811 --- datasette/views/special.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/datasette/views/special.py b/datasette/views/special.py index b8bd57c61a..7a5fbe21af 100644 --- a/datasette/views/special.py +++ b/datasette/views/special.py @@ -85,9 +85,7 @@ def __init__(self, datasette): 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"],