Fix permalink
This commit is contained in:
parent
25d3daa6d2
commit
dc89aeb70b
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ class Object:
|
||||||
@cached_property
|
@cached_property
|
||||||
def url(self) -> str | None:
|
def url(self) -> str | None:
|
||||||
obj_url = self.ap_object.get("url")
|
obj_url = self.ap_object.get("url")
|
||||||
if isinstance(obj_url, str):
|
if isinstance(obj_url, str) and obj_url:
|
||||||
return obj_url
|
return obj_url
|
||||||
elif obj_url:
|
elif obj_url:
|
||||||
for u in ap.as_list(obj_url):
|
for u in ap.as_list(obj_url):
|
||||||
|
|
Loading…
Reference in a new issue