forked from rDrama/rDrama
make it possible to delete poll options
parent
55c8a51a1d
commit
d7f43d4e3a
|
@ -297,7 +297,7 @@ class Comment(Base):
|
||||||
|
|
||||||
if f'{s}{o.body}{s}' in body:
|
if f'{s}{o.body}{s}' in body:
|
||||||
body = body.replace(f'{s}{o.body}{s}', option_body)
|
body = body.replace(f'{s}{o.body}{s}', option_body)
|
||||||
else:
|
elif o.created_utc < 1677622477:
|
||||||
body += option_body
|
body += option_body
|
||||||
|
|
||||||
if not self.ghost and self.author.show_sig(v):
|
if not self.ghost and self.author.show_sig(v):
|
||||||
|
|
|
@ -326,7 +326,7 @@ class Submission(Base):
|
||||||
|
|
||||||
if f'{s}{o.body}{s}' in body:
|
if f'{s}{o.body}{s}' in body:
|
||||||
body = body.replace(f'{s}{o.body}{s}', option_body)
|
body = body.replace(f'{s}{o.body}{s}', option_body)
|
||||||
else:
|
elif o.created_utc < 1677622477:
|
||||||
body += option_body
|
body += option_body
|
||||||
|
|
||||||
if not listing and not self.ghost and self.author.show_sig(v):
|
if not listing and not self.ghost and self.author.show_sig(v):
|
||||||
|
|
Loading…
Reference in New Issue