forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-12-11 04:41:14 +02:00
parent bd99064d69
commit eb53748480
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ class Submission(Base):
@property
@lazy
def bet_options(self):
return g.db.query(Comment).filter_by(parent_submission = self.id, author_id = AUTOBETTER_ID, level=1).order_by(Comment.upvotes.desc())
return g.db.query(Comment).filter_by(parent_submission = self.id, author_id = AUTOBETTER_ID, level=1)
def total_poll_voted(self, v):
if v: