From 3a271e47a3c84225279a66dd1afffde8c2d4e681 Mon Sep 17 00:00:00 2001 From: msm Date: Wed, 31 Jan 2024 15:28:06 +0100 Subject: [PATCH] Black --- mwdb/core/karton.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mwdb/core/karton.py b/mwdb/core/karton.py index 00cdee238..5c6f2eec7 100644 --- a/mwdb/core/karton.py +++ b/mwdb/core/karton.py @@ -44,7 +44,7 @@ def prepare_headers(obj: Object, arguments: Dict[str, Any]) -> Dict[str, Any]: Takes into account object arguments to this analysis, some attributes, and share_3rd_party field (in this order of precedence). """ - headers={ + headers = { "share_3rd_party": obj.share_3rd_party, } @@ -66,7 +66,7 @@ def send_file_to_karton(file: File, arguments: Dict[str, Any]) -> str: raise RuntimeError("Karton is not enabled or failed to load properly") feed_quality = g.auth_user.feed_quality - headers_persistent=prepare_headers(file, arguments) + headers_persistent = prepare_headers(file, arguments) headers_persistent["quality"] = feed_quality task_priority = TaskPriority.NORMAL if feed_quality == "high" else TaskPriority.LOW