Skip to content

Commit

Permalink
Applied black, refs #811
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Jun 8, 2020
1 parent ab14b20 commit dfff34e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions datasette/views/special.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down

0 comments on commit dfff34e

Please sign in to comment.