gf
This commit is contained in:
parent
bc430e5c42
commit
4a8a6dde8c
11 changed files with 22 additions and 90 deletions
|
@ -265,7 +265,7 @@ class Submission(Base, Stndrd, Age_times, Scores, Fuzzing):
|
|||
@property
|
||||
|
||||
def json_raw(self):
|
||||
data = {'author_name': self.author.username if not self.author.deleted_utc > 0 else None,
|
||||
data = {'author_name': self.author.username,
|
||||
'permalink': self.permalink,
|
||||
'is_banned': bool(self.is_banned),
|
||||
'deleted_utc': self.deleted_utc,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue