forked from mirrors/bookwyrm
Revert previous commit
This commit is contained in:
parent
ee39e8c036
commit
0db3512eb3
1 changed files with 1 additions and 1 deletions
|
@ -424,7 +424,7 @@ class ImageField(ActivitypubFieldMixin, models.ImageField):
|
|||
}
|
||||
)
|
||||
|
||||
def get_absolute_url(value):
|
||||
def get_absolute_url(self, value):
|
||||
"""returns an absolute URL for the image"""
|
||||
name = getattr(value, "name")
|
||||
if name is None:
|
||||
|
|
Loading…
Reference in a new issue