This commit is contained in:
Aevann1 2022-02-04 06:24:12 +02:00
parent f490cd86e8
commit 9a4f2bb539

View file

@ -192,7 +192,7 @@ class Submission(Base):
@property @property
@lazy @lazy
def shortlink(self): def shortlink(self):
if self.club: return f"{SITE_FULL}/post/{self.id}" if self.club: return f"/post/{self.id}"
output = self.title.lower() output = self.title.lower()