image tweaks pt. 3
This commit is contained in:
parent
8a77476042
commit
c46e930d50
1 changed files with 1 additions and 1 deletions
|
@ -51,6 +51,6 @@ class Service(OrderedModel):
|
|||
if rel in link_tag.attrs['rel']:
|
||||
result = link_tag.attrs['href']
|
||||
if self.url not in result:
|
||||
return self.url + result if result.startswith("/") else f"/{result}"
|
||||
return self.url + (result if result.startswith("/") else f"/{result}")
|
||||
else:
|
||||
return result
|
||||
|
|
Loading…
Reference in a new issue