fix 500 error (whoops)

remotes/1693045480750635534/spooky-22
Aevann1 2022-09-19 20:57:03 +02:00
parent a40c367e88
commit 14ae9600cf
1 changed files with 2 additions and 2 deletions

View File

@ -954,10 +954,10 @@ class User(Base):
@lazy
def show_sig(self, v):
if not self.author.sig_html:
if not self.sig_html:
return False
if not self.author.patron and SITE_NAME != 'WPD':
if not self.patron and SITE_NAME != 'WPD':
return False
if v and (v.sigs_disabled or v.poor):