master
Aevann1 2021-12-14 02:54:19 +02:00
parent 8dc03b10a6
commit e3f2eccf8a
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ class Submission(Base):
flags = {}
for f in self.flags: flags[f.user.username] = f.reason
data = {'author_name': self.author.username,
data = {'author_name': self.author.username if self.author else '',
'permalink': self.permalink,
'is_banned': bool(self.is_banned),
'deleted_utc': self.deleted_utc,