Skip to content

Commit

Permalink
fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
devketanpro committed Nov 8, 2023
1 parent 7a0b689 commit 53d86d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/planning/planning/planning.py
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ def _create_update_assignment(
if assigned_to.get("state") and assigned_to["state"] != ASSIGNMENT_WORKFLOW_STATE.DRAFT:
assign_state = assigned_to.get("state")

if translated_value.get("name") and not "headline" in doc["planning"]:
if translated_value.get("name") and "headline" not in doc["planning"]:
doc["planning"]["headline"] = translated_value.get("name")

assignment = {
Expand Down

0 comments on commit 53d86d2

Please sign in to comment.