Skip to content

Commit

Permalink
address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
m-alisafaee committed Oct 3, 2023
1 parent 504d6cd commit 5f4d76e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions renku/core/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ def edit_project(
"description": description,
"keywords": keywords,
"custom_metadata": custom_metadata,
"image": NO_VALUE
if image_request is NO_VALUE
else None
if image_request is None
else ImageObjectRequestJson().dump(image_request),
"image": (
image_request
if image_request is NO_VALUE or image_request is None
else ImageObjectRequestJson().dump(image_request)
),
}

no_email_warnings: Optional[Union[Dict, str]] = None
Expand Down

0 comments on commit 5f4d76e

Please sign in to comment.