master
Aevann1 2022-02-27 00:13:02 +02:00
parent 23270c022f
commit 555a410b6a
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ class Submission(Base):
link = f"/post/{self.id}" link = f"/post/{self.id}"
if self.sub: link = f"/s/{self.sub}{link}" if self.sub: link = f"/s/{self.sub}{link}"
if self.club: return link if self.club: return link + '/-'
output = self.title.lower() output = self.title.lower()
output = re.sub('&\w{2,3};', '', output, flags=re.A) output = re.sub('&\w{2,3};', '', output, flags=re.A)