forked from rDrama/rDrama
master
parent
5776f956d4
commit
255eb4edaa
|
@ -134,7 +134,7 @@ class Submission(Base, Stndrd, Age_times, Scores, Fuzzing):
|
||||||
|
|
||||||
return f"/post/{self.id}/{output}"
|
return f"/post/{self.id}/{output}"
|
||||||
|
|
||||||
def rendered_page(self, sort=None, comment=None, comment_info=None, v=None):
|
def rendered_page(self, read=None, sort=None, comment=None, comment_info=None, v=None):
|
||||||
|
|
||||||
# check for banned
|
# check for banned
|
||||||
if v and (v.admin_level >= 3 or self.author_id == v.id):
|
if v and (v.admin_level >= 3 or self.author_id == v.id):
|
||||||
|
|
Loading…
Reference in New Issue