forked from MarseyWorld/MarseyWorld
fsdfds
parent
8dc03b10a6
commit
e3f2eccf8a
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue