Update Status Model Test

This commit is contained in:
Joachim
2021-08-04 18:18:18 +02:00
parent 60e805ac2b
commit bc7710a4a7
2 changed files with 7 additions and 7 deletions

View File

@ -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: