Skip to content

Commit

Permalink
Black
Browse files Browse the repository at this point in the history
  • Loading branch information
msm-code committed Jan 31, 2024
1 parent c096f98 commit 3a271e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mwdb/core/karton.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand All @@ -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

Expand Down

0 comments on commit 3a271e4

Please sign in to comment.