forked from rDrama/rDrama
fix 500 error
parent
7a80ceef59
commit
7a484859da
|
@ -267,8 +267,7 @@ class Submission(Base):
|
||||||
'flags': flags,
|
'flags': flags,
|
||||||
'club': self.club,
|
'club': self.club,
|
||||||
'author': '👻' if self.ghost else self.author.json,
|
'author': '👻' if self.ghost else self.author.json,
|
||||||
'comment_count': self.comment_count,
|
'comment_count': self.comment_count
|
||||||
'voted': self.voted
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if "replies" in self.__dict__:
|
if "replies" in self.__dict__:
|
||||||
|
|
Loading…
Reference in New Issue