From 8a4639bc43a016a1f8fae6a07d5b5f7abe0074e8 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Thu, 29 Oct 2020 22:14:33 -0700 Subject: [PATCH] Applied Black --- datasette/app.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/datasette/app.py b/datasette/app.py index efe5a812..8cff6577 100644 --- a/datasette/app.py +++ b/datasette/app.py @@ -767,7 +767,9 @@ class Datasette: "actor": request.actor if request else None, "menu_links": menu_links, "display_actor": display_actor, - "show_logout": request is not None and "ds_actor" in request.cookies and request.actor, + "show_logout": request is not None + and "ds_actor" in request.cookies + and request.actor, "app_css_hash": self.app_css_hash(), "zip": zip, "body_scripts": body_scripts,