forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2022-04-26 16:15:06 +02:00
parent 5a49be1d47
commit 5afa0c0d2a
1 changed files with 5 additions and 4 deletions

View File

@ -397,6 +397,7 @@ class Submission(Base):
if not self.total_poll_voted(v): body += ' d-none'
body += f'"> - <a href="/votes?link=t3_{c.id}"><span id="poll-{c.id}">{c.upvotes}</span> votes</a></span></label></div>'
if self.choices:
curr = self.total_choice_voted(v)
if curr: curr = " value=" + str(curr[0].comment_id)
else: curr = ''