Skip to content

Commit

Permalink
Merge ca3e114 into 5ffe2c8
Browse files Browse the repository at this point in the history
  • Loading branch information
thesayfulla authored Oct 1, 2023
2 parents 5ffe2c8 + ca3e114 commit 490ddbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions meta/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ def process_value(item):
return item(field)
except TypeError:
return item()
else:
return item
return item

if value:
try:
Expand Down
3 changes: 1 addition & 2 deletions meta/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,7 @@ def _normalize_media_url(self, url):
def image(self):
if self.image_object:
return self.image_object.get("url")
else:
return self._image
return self._image

@image.setter
def image(self, image):
Expand Down

0 comments on commit 490ddbd

Please sign in to comment.