Update Status Model Test
This commit is contained in:
parent
60e805ac2b
commit
bc7710a4a7
2 changed files with 7 additions and 7 deletions
|
@ -427,7 +427,7 @@ class ImageField(ActivitypubFieldMixin, models.ImageField):
|
|||
"""returns an absolute URL for the image"""
|
||||
name = getattr(value, self.name)
|
||||
if name is None:
|
||||
return
|
||||
return None
|
||||
|
||||
url = filepath_to_uri(name)
|
||||
if url is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue