make it possible to delete poll options

pull/136/head
Aevann 2023-03-01 00:15:05 +02:00
parent 55c8a51a1d
commit d7f43d4e3a
2 changed files with 2 additions and 2 deletions

View File

@ -297,7 +297,7 @@ class Comment(Base):
if f'{s}{o.body}{s}' in body:
body = body.replace(f'{s}{o.body}{s}', option_body)
else:
elif o.created_utc < 1677622477:
body += option_body
if not self.ghost and self.author.show_sig(v):

View File

@ -326,7 +326,7 @@ class Submission(Base):
if f'{s}{o.body}{s}' in body:
body = body.replace(f'{s}{o.body}{s}', option_body)
else:
elif o.created_utc < 1677622477:
body += option_body
if not listing and not self.ghost and self.author.show_sig(v):