Reference the correct post

https://old.reddit.com/r/hentaimemes/comments/wv67jr/
This commit is contained in:
blankie 2022-08-23 12:36:10 +07:00
parent 110381484e
commit 36f2805d60
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ async def main():
if unique_id in give_ups: if unique_id in give_ups:
return return
cpid = getattr(submission, 'crosspost_parent', None) cpid = getattr(submission, 'crosspost_parent', None)
if cpid and getattr(random_post, 'crosspost_parent_list', None): if cpid and getattr(submission, 'crosspost_parent_list', None):
cpid = cpid[3:] cpid = cpid[3:]
if submission.id in chat_sp + global_sp or cpid in chat_sp + global_sp: if submission.id in chat_sp + global_sp or cpid in chat_sp + global_sp:
continue continue